treewide: fix darwin builds by using getOutput

This fixes eval for pkgs referring to optional static output
This commit is contained in:
Robin Gloster
2016-08-25 08:44:20 +00:00
parent 113fbe910e
commit eddc0a5549
4 changed files with 12 additions and 4 deletions
+4 -1
View File
@@ -14,7 +14,10 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ e2fsprogs libuuid stdenv.cc.libc stdenv.cc.libc.static ];
buildInputs = [
e2fsprogs libuuid stdenv.cc.libc
(stdenv.lib.getOutput "static" stdenv.cc.libc)
];
enableParallelBuilding = true;