Revert "Revert "Merge pull request #9543 from NixOS/staging.post-15.06""
This reverts commit 741bf840da.
This reverts the fallout from reverting the major changes.
This commit is contained in:
@@ -38,12 +38,13 @@ in stdenv.mkDerivation {
|
||||
dontDisableStatic = true;
|
||||
prePatch = ''
|
||||
patchShebangs .
|
||||
sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' tools/gyp/pylib/gyp/xcode_emulation.py
|
||||
'';
|
||||
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./no-xcode.patch;
|
||||
patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ./pkg-libpath.patch ];
|
||||
|
||||
buildInputs = [ python which http-parser zlib libuv openssl python ]
|
||||
++ (optional stdenv.isLinux utillinux)
|
||||
buildInputs = [ python which zlib libuv openssl python ]
|
||||
++ optionals stdenv.isLinux [ utillinux http-parser ]
|
||||
++ optionals stdenv.isDarwin [ pkgconfig openssl libtool ];
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user