mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
nix: Update to 1.7
This commit is contained in:
parent
ad65a1e064
commit
2da09363bf
|
@ -253,7 +253,7 @@ in
|
|||
|
||||
config = {
|
||||
|
||||
nix.chrootDirs = [ "/dev" "/dev/pts" "/proc" "/bin" ];
|
||||
nix.chrootDirs = [ "/bin" ];
|
||||
|
||||
environment.etc."nix/nix.conf".source = nixConf;
|
||||
|
||||
|
|
|
@ -5,15 +5,13 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nix-1.6.1";
|
||||
name = "nix-1.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://nixos.org/releases/nix/${name}/${name}.tar.xz";
|
||||
sha256 = "31d15f99b2405924a4be278334cc973a71999303631e6798c1d294db9be4bf84";
|
||||
sha256 = "349163654f2ae3e1a17fb3da7ed164a4cac153728bbe9a26764e17556d3dcc92";
|
||||
};
|
||||
|
||||
patches = [ ./hash-check.patch ];
|
||||
|
||||
nativeBuildInputs = [ perl pkgconfig ];
|
||||
|
||||
buildInputs = [ curl openssl boehmgc sqlite ];
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
commit 11cb4bfb257f18c906ef1d6f14ed450be8fa49fe upstream
|
||||
|
||||
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
|
||||
index dcd7343..4329d9a 100644
|
||||
--- a/src/libstore/build.cc
|
||||
+++ b/src/libstore/build.cc
|
||||
@@ -2749,6 +2749,7 @@ void SubstitutionGoal::finished()
|
||||
logPipe.readSide.close();
|
||||
|
||||
/* Get the hash info from stdout. */
|
||||
+ string dummy = readLine(outPipe.readSide);
|
||||
string expectedHashStr = statusOk(status) ? readLine(outPipe.readSide) : "";
|
||||
outPipe.readSide.close();
|
||||
|
|
@ -10510,10 +10510,13 @@ let
|
|||
stateDir = config.nix.stateDir or "/nix/var";
|
||||
};
|
||||
|
||||
nixUnstable = nixStable;
|
||||
/*
|
||||
nixUnstable = callPackage ../tools/package-management/nix/unstable.nix {
|
||||
storeDir = config.nix.storeDir or "/nix/store";
|
||||
stateDir = config.nix.stateDir or "/nix/var";
|
||||
};
|
||||
*/
|
||||
|
||||
nixops = callPackage ../tools/package-management/nixops { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue