diff --git a/pkgs/by-name/je/jemalloc/package.nix b/pkgs/by-name/je/jemalloc/package.nix index 4c353c3617aa..56c26cc29d1b 100644 --- a/pkgs/by-name/je/jemalloc/package.nix +++ b/pkgs/by-name/je/jemalloc/package.nix @@ -39,13 +39,13 @@ assert lib.asserts.assertOneOf "pageSizeKiB" (toString pageSizeKiB) ( stdenv.mkDerivation (finalAttrs: { pname = "jemalloc"; - version = "5.3.1"; + version = "5.4.0"; src = fetchFromGitHub { owner = "jemalloc"; repo = "jemalloc"; tag = finalAttrs.version; - hash = "sha256-uGQppR2LS/Hhx4eWnavPDW3tzMyI1Df4XYrWEMQwBuw="; + hash = "sha256-T3f+BWk+/LeB2Ul7If7TqtJH7qYLq53CcYaU82EMeSg="; }; patches = [ @@ -61,16 +61,6 @@ stdenv.mkDerivation (finalAttrs: { # A (longer) patch addressing the failure posted upstream at: # https://github.com/jemalloc/jemalloc/pull/2954 ./skip-extent-test-with-prof-active.patch - - # the nonstandard `std::__throw_bad_alloc` is no longer exposed in gcc 16. - # this makes it conditional on exceptions and defers to either - # `throw std::bad_alloc()` or `std::terminate` as appropriate. - # https://github.com/jemalloc/jemalloc/pull/2900 - (fetchpatch { - name = "jemalloc-dont-use-nonstandard-throw-bad-alloc.patch"; - url = "https://github.com/jemalloc/jemalloc/commit/1a15fe33a48c52bfe26ea83e49f0d317a47da3ea.patch"; - hash = "sha256-pL9fo8UMSbFlHCo3LFFkw0qBsdrVHcEJIkLutZYa2Yg="; - }) ]; nativeBuildInputs = [