nixUnstable: 2.4pre20210503_6d2553a -> 2.4pre20210601_5985b8b5

master
Jonathan Ringer 2021-06-01 10:15:55 -07:00 committed by Jonathan Ringer
parent 928ed6f2c7
commit 65c897c7c4
1 changed files with 7 additions and 10 deletions

View File

@ -119,9 +119,12 @@ common =
[ "--with-store-dir=${storeDir}"
"--localstatedir=${stateDir}"
"--sysconfdir=${confDir}"
"--disable-init-state"
"--enable-gc"
]
++ lib.optionals (!is24) [
# option was removed in 2.4
"--disable-init-state"
]
++ lib.optionals stdenv.isLinux [
"--with-sandbox-shell=${sh}/bin/busybox"
]
@ -208,23 +211,17 @@ in rec {
nixUnstable = lib.lowPrio (callPackage common rec {
pname = "nix";
version = "2.4${suffix}";
suffix = "pre20210503_6d2553a";
suffix = "pre20210601_5985b8b";
src = fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "6d2553ae1496288554e871c530836428f405fd67";
sha256 = "sha256-YeSeyOKhBAXHlkzo4mwYr8QIjIP9AgdpJ7YdhqOO2CA=";
rev = "5985b8b5275605ddd5e92e2f0a7a9f494ac6e35d";
sha256 = "sha256-2So7ZsD8QJlOXCYqdoj8naNgBw6O4Vw1MM2ORsaqlXc=";
};
inherit storeDir stateDir confDir boehmgc;
patches = [
(fetchpatch {
url = "https://github.com/NixOS/nix/commit/8c7e043de2f673bc355d83f1e873baa93f30be62.patch";
sha256 = "sha256-aTcUnZXheewnyCT7yQKnTqQDKS2uDoN9plMQgxJH8Ag=";
})
];
});
}