aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/web/nodejs/nodejs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/web/nodejs/nodejs.nix')
-rw-r--r--nixpkgs/pkgs/development/web/nodejs/nodejs.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/web/nodejs/nodejs.nix b/nixpkgs/pkgs/development/web/nodejs/nodejs.nix
index dce8479d219..5eeed80007b 100644
--- a/nixpkgs/pkgs/development/web/nodejs/nodejs.nix
+++ b/nixpkgs/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
@@ -139,11 +139,11 @@ in
meta = {
description = "Event-driven I/O framework for the V8 JavaScript engine";
- homepage = https://nodejs.org;
+ homepage = "https://nodejs.org";
license = licenses.mit;
maintainers = with maintainers; [ goibhniu gilligan cko ];
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
}