Merge pull request #129574 from jonringer/bump-nix-unstable-july

This commit is contained in:
Sandro 2021-07-20 17:33:36 +02:00 committed by GitHub
commit 7731e2fe72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 6 deletions

View file

@ -193,10 +193,25 @@ common =
preBuild = "unset NIX_INDENT_MAKE";
});
inherit boehmgc;
};
};
in nix;
boehmgc_nix = boehmgc.override {
enableLargeConfig = true;
};
boehmgc_nixUnstable = boehmgc_nix.overrideAttrs (drv: {
patches = (drv.patches or []) ++ [
# Part of the GC solution in https://github.com/NixOS/nix/pull/4944
(fetchpatch {
url = https://github.com/hercules-ci/nix/raw/5c58d84a76d96f269e3ff1e72c9c9ba5f68576af/boehmgc-coroutine-sp-fallback.diff;
sha256 = "sha256-JvnWVTlkltmQUs/0qApv/LPZ690UX1/2hEP+LYRwKbI=";
})
];
});
in rec {
nix = nixStable;
@ -209,22 +224,26 @@ in rec {
sha256 = "sha256-cToMnZU3+UpjeiiXnG3clz9zn8Xk+TbB7UbqmLMrlFk=";
};
inherit storeDir stateDir confDir boehmgc;
boehmgc = boehmgc_nix;
inherit storeDir stateDir confDir;
});
nixUnstable = lib.lowPrio (callPackage common rec {
pname = "nix";
version = "2.4${suffix}";
suffix = "pre20210601_5985b8b";
suffix = "pre20210707_02dd6bb";
src = fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "5985b8b5275605ddd5e92e2f0a7a9f494ac6e35d";
sha256 = "sha256-2So7ZsD8QJlOXCYqdoj8naNgBw6O4Vw1MM2ORsaqlXc=";
rev = "02dd6bb610e55a009cd7a4c83639698d3a7acaa2";
sha256 = "sha256-ARRiLrDOK+JQtvVXsYegspENYimQzilvdTfO7eiBuaA=";
};
inherit storeDir stateDir confDir boehmgc;
boehmgc = boehmgc_nixUnstable;
inherit storeDir stateDir confDir;
});

View file

@ -31171,7 +31171,6 @@ in
inherit (callPackage ../tools/package-management/nix {
storeDir = config.nix.storeDir or "/nix/store";
stateDir = config.nix.stateDir or "/nix/var";
boehmgc = boehmgc.override { enableLargeConfig = true; };
inherit (darwin.apple_sdk.frameworks) Security;
})
nix