jemalloc: don't try to patch 4.5.0

This commit is contained in:
Yorick van Pelt 2018-04-16 16:18:33 +02:00
parent 2c5efc8735
commit c03f5f5579
No known key found for this signature in database
GPG Key ID: D8D3CC6D951384DE
3 changed files with 10 additions and 11 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch, version, sha256 }:
{ stdenv, fetchurl, version, sha256, ... }@args:
stdenv.mkDerivation rec {
stdenv.mkDerivation (rec {
name = "jemalloc-${version}";
inherit version;
@ -19,11 +19,6 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional stdenv.isArm "--disable-thp";
doCheck = true;
patches = stdenv.lib.optional stdenv.isAarch64 (fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/jemalloc/jemalloc/pull/1035.patch";
sha256 = "02y0q3dp253bipxv4r954nqipbjbj92p6ww9bx5bk3d8pa81wkqq";
});
enableParallelBuilding = true;
meta = with stdenv.lib; {
@ -37,4 +32,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
};
}
} // (builtins.removeAttrs args [ "stdenv" "fetchurl" "version" "sha256" ]))

View File

@ -1,6 +1,10 @@
{ stdenv, fetchurl, fetchpatch }:
import ./common.nix {
inherit stdenv fetchurl fetchpatch;
inherit stdenv fetchurl;
version = "5.0.1";
sha256 = "4814781d395b0ef093b21a08e8e6e0bd3dab8762f9935bbfb71679b0dea7c3e9";
patches = stdenv.lib.optional stdenv.isAarch64 (fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/jemalloc/jemalloc/pull/1035.patch";
sha256 = "02y0q3dp253bipxv4r954nqipbjbj92p6ww9bx5bk3d8pa81wkqq";
});
}

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch }:
{ stdenv, fetchurl }:
import ./common.nix {
inherit stdenv fetchurl fetchpatch;
inherit stdenv fetchurl;
version = "4.5.0";
sha256 = "10373xhpc10pgmai9fkc1z0rs029qlcb3c0qfnvkbwdlcibdh2cl";
}