@@ -5,16 +5,18 @@
55}:
66
77stdenv.mkDerivation rec {
8− name = "nix-1.7";
8+ name = "nix-1.8";
99
1010 src = fetchurl {
1111 url = "http://nixos.org/releases/nix/${name}/${name}.tar.xz";
12− sha256 = "349163654f2ae3e1a17fb3da7ed164a4cac153728bbe9a26764e17556d3dcc92";
12+ sha256 = "a30a5e801bc1cb1019cbc3456d961a307c45c9c588b8692cf1293ea6588ef01c";
1313 };
1414
1515 nativeBuildInputs = [ perl pkgconfig ];
1616
17− buildInputs = [ curl openssl boehmgc sqlite ];
17+ buildInputs = [ curl openssl sqlite ];
18+
19+ propagatedBuildInputs = [ boehmgc ];
1820
1921 # Note: bzip2 is not passed as a build input, because the unpack phase
2022 # would end up using the wrong bzip2 when cross-compiling.
@@ -22,6 +24,7 @@ stdenv.mkDerivation rec {
2224 postUnpack =
2325 '' export CPATH="${bzip2}/include"
2426 export LIBRARY_PATH="${bzip2}/lib"
27+ export CXXFLAGS="-Wno-error=reserved-user-defined-literal"
2528 '';
2629
2730 configureFlags =
@@ -32,7 +35,6 @@ stdenv.mkDerivation rec {
3235 --with-www-curl=${perlPackages.WWWCurl}/${perl.libPrefix}
3336 --disable-init-state
3437 --enable-gc
35− CFLAGS=-O3 CXXFLAGS=-O3
3638 '';
3739
3840 makeFlags = "profiledir=$(out)/etc/profile.d";
@@ -55,7 +57,6 @@ stdenv.mkDerivation rec {
5557 --with-www-curl=${perlPackages.WWWCurl}/${perl.libPrefix}
5658 --disable-init-state
5759 --enable-gc
58− CFLAGS=-O3 CXXFLAGS=-O3
5960 '' + stdenv.lib.optionalString (
6061 stdenv.cross ? nix && stdenv.cross.nix ? system
6162 ) ''--with-system=${stdenv.cross.nix.system}'';
@@ -66,9 +67,6 @@ stdenv.mkDerivation rec {
6667 enableParallelBuilding = true;
6768
6869 meta = {
69− # due to builder args bug; see
70− # https://github.com/NixOS/nix/commit/b224ac15201c57b40ea855f5a98b1bd166c1c7f6
71− broken = stdenv.isDarwin;
7270 description = "Powerful package manager that makes package management reliable and reproducible";
7371 longDescription = ''
7472 Nix is a powerful package manager for Linux and other Unix systems that