diff options
author | Lily Foster <lily@lily.flowers> | 2022-09-30 12:30:03 -0400 |
---|---|---|
committer | Yt <happysalada@proton.me> | 2022-10-01 08:54:20 +0900 |
commit | 2998b31b02770f801e43614ac3c42a4fd4412863 (patch) | |
tree | 15a4881b00c9a48a448665dc87110479e222b4c5 /pkgs/development/web/nodejs/nodejs.nix | |
parent | af1a8d7de6d6cb18ec614330b73150f17c17cf70 (diff) |
nodejs: add back newer bypass-xcrun patch
Diffstat (limited to 'pkgs/development/web/nodejs/nodejs.nix')
-rw-r--r-- | pkgs/development/web/nodejs/nodejs.nix | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index ab9a8b95d1a04..6d9a3392a7a92 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -123,7 +123,6 @@ let --replace "/usr/bin/env" "${coreutils}/bin/env" done '' + optionalString stdenv.isDarwin '' - sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' tools/gyp/pylib/gyp/xcode_emulation.py sed -i -e "s|tr1/type_traits|type_traits|g" \ -e "s|std::tr1|std|" src/util.h ''; @@ -176,8 +175,6 @@ let Libs: -L$libv8/lib -lv8 -pthread -licui18n Cflags: -I$libv8/include EOF - '' + optionalString (stdenv.isDarwin && enableNpm) '' - 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.updateScript = import ./update.nix { |