@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, fetchpatch, version, sha256 }:
1+{ stdenv, fetchurl, version, sha256, ... }@args:
22
3−stdenv.mkDerivation rec {
3+stdenv.mkDerivation (rec {
44 name = "jemalloc-${version}";
55 inherit version;
66
@@ -19,11 +19,6 @@ stdenv.mkDerivation rec {
1919 ++ stdenv.lib.optional stdenv.isArm "--disable-thp";
2020 doCheck = true;
2121
22− patches = stdenv.lib.optional stdenv.isAarch64 (fetchpatch {
23− url = "https://patch-diff.githubusercontent.com/raw/jemalloc/jemalloc/pull/1035.patch";
24− sha256 = "02y0q3dp253bipxv4r954nqipbjbj92p6ww9bx5bk3d8pa81wkqq";
25− });
26−
2722 enableParallelBuilding = true;
2823
2924 meta = with stdenv.lib; {
@@ -37,4 +32,4 @@ stdenv.mkDerivation rec {
3732 platforms = platforms.all;
3833 maintainers = with maintainers; [ wkennington ];
3934 };
40−}
35+} // (builtins.removeAttrs args [ "stdenv" "fetchurl" "version" "sha256" ]))