diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-04-13 07:44:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 07:44:05 -0500 |
commit | 66e43c6588049a4cbe4e758bfde3f1994e4b917d (patch) | |
tree | 9364157e9f2db9fb0b173d72a3f6402589f3ee56 /pkgs/development/web/nodejs/nodejs.nix | |
parent | f6e64feb14bbc35fe1cd160f28094321c6e685fa (diff) | |
parent | 16243290e2cf5cb6f80c7699e3c37f26d114873f (diff) |
Merge pull request #84599 from doronbehar/nodejs-python3
nodejs: use python3 if possible
Diffstat (limited to 'pkgs/development/web/nodejs/nodejs.nix')
-rw-r--r-- | pkgs/development/web/nodejs/nodejs.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 9f7a2cc9e28c6..5eeed80007bf1 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, openssl, python2, zlib, libuv, utillinux, http-parser +{ stdenv, fetchurl, openssl, python, zlib, libuv, utillinux, http-parser , pkgconfig, which # Updater dependencies , writeScript, coreutils, gnugrep, jq, curl, common-updater-scripts, nix, runtimeShell @@ -55,7 +55,7 @@ in buildInputs = optionals stdenv.isDarwin [ CoreServices ApplicationServices ] ++ [ zlib libuv openssl http-parser icu ]; - nativeBuildInputs = [ which utillinux pkgconfig python2 ] + nativeBuildInputs = [ which utillinux pkgconfig python ] ++ optionals stdenv.isDarwin [ xcbuild ]; configureFlags = let @@ -145,5 +145,5 @@ in platforms = platforms.linux ++ platforms.darwin; }; - passthru.python = python2; # to ensure nodeEnv uses the same version + passthru.python = python; # to ensure nodeEnv uses the same version } |