File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
pkgs/tools/package-management/nix Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -119,9 +119,12 @@ common =
119119 [ "--with-store-dir=${ storeDir } "
120120 "--localstatedir=${ stateDir } "
121121 "--sysconfdir=${ confDir } "
122- "--disable-init-state"
123122 "--enable-gc"
124123 ]
124+ ++ lib . optionals ( ! is24 ) [
125+ # option was removed in 2.4
126+ "--disable-init-state"
127+ ]
125128 ++ lib . optionals stdenv . isLinux [
126129 "--with-sandbox-shell=${ sh } /bin/busybox"
127130 ]
@@ -208,23 +211,17 @@ in rec {
208211 nixUnstable = lib . lowPrio ( callPackage common rec {
209212 pname = "nix" ;
210213 version = "2.4${ suffix } " ;
211- suffix = "pre20210503_6d2553a " ;
214+ suffix = "pre20210601_5985b8b " ;
212215
213216 src = fetchFromGitHub {
214217 owner = "NixOS" ;
215218 repo = "nix" ;
216- rev = "6d2553ae1496288554e871c530836428f405fd67 " ;
217- sha256 = "sha256-YeSeyOKhBAXHlkzo4mwYr8QIjIP9AgdpJ7YdhqOO2CA =" ;
219+ rev = "5985b8b5275605ddd5e92e2f0a7a9f494ac6e35d " ;
220+ sha256 = "sha256-2So7ZsD8QJlOXCYqdoj8naNgBw6O4Vw1MM2ORsaqlXc =" ;
218221 } ;
219222
220223 inherit storeDir stateDir confDir boehmgc ;
221224
222- patches = [
223- ( fetchpatch {
224- url = "https://github.com/NixOS/nix/commit/8c7e043de2f673bc355d83f1e873baa93f30be62.patch" ;
225- sha256 = "sha256-aTcUnZXheewnyCT7yQKnTqQDKS2uDoN9plMQgxJH8Ag=" ;
226- } )
227- ] ;
228225 } ) ;
229226
230227}
You can’t perform that action at this time.
0 commit comments