nodejs: pin python versions and use python3 when possible

This commit is contained in:
Doron Behar
2020-04-07 15:33:49 +03:00
parent f601ab37c2
commit 75fa5ad17c
4 changed files with 18 additions and 9 deletions
+5 -2
View File
@@ -1,7 +1,10 @@
{ callPackage, openssl, icu, enableNpm ? true }:
{ callPackage, openssl, icu, python2, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix { inherit openssl icu; };
buildNodejs = callPackage ./nodejs.nix {
inherit openssl icu;
python = python2;
};
in
buildNodejs {
inherit enableNpm;