git.iko.soy/typeable/nixpkgs
on master help sign in
nodejs-0.10: apply gyp patches to node-gyp in fixup
commitde497895aeeab8c806aeb44a482b5e8da45c2869 authorJude Taylor <me@jude.bio> dateFri 16 Oct 2015, 18:37 (11 years ago) parent2568806
1 file changed+7
pkgs/development/web/nodejs/v0_10.nix+7
pkgs/development/web/nodejs/v0_10.nix+7
@@ -56,6 +56,13 @@ in stdenv.mkDerivation {
5656
5757 enableParallelBuilding = true;
5858
59+ postFixup = ''
60+ pushd $out/lib/node_modules/npm/node_modules/node-gyp
61+ patch -p2 < ${./no-xcode.patch}
62+ popd
63+ 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
64+ '';
65+
5966 passthru.interpreterName = "nodejs-0.10";
6067
6168 meta = {