nodejs-0.10: apply gyp patches to node-gyp in fixup

This commit is contained in:
Jude Taylor 2015-10-16 18:37:45 -07:00
parent 2568806696
commit de497895ae

View file

@ -56,6 +56,13 @@ in stdenv.mkDerivation {
enableParallelBuilding = true;
postFixup = ''
pushd $out/lib/node_modules/npm/node_modules/node-gyp
patch -p2 < ${./no-xcode.patch}
popd
sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' $out/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
'';
passthru.interpreterName = "nodejs-0.10";
meta = {