nodejs-0.10: apply gyp patches to node-gyp in fixup
This commit is contained in:
parent
2568806696
commit
de497895ae
1 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,13 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
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";
|
passthru.interpreterName = "nodejs-0.10";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue