node-env.nix: remove references to python2 (#391707)
This commit is contained in:
@@ -13,7 +13,6 @@ let
|
||||
inherit (pkgs)
|
||||
stdenv
|
||||
lib
|
||||
python2
|
||||
runCommand
|
||||
writeTextFile
|
||||
writeShellScript
|
||||
|
||||
@@ -13,7 +13,6 @@ let
|
||||
inherit (pkgs)
|
||||
stdenv
|
||||
lib
|
||||
python2
|
||||
runCommand
|
||||
writeTextFile
|
||||
writeShellScript
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# This file originates from node2nix
|
||||
|
||||
{lib, stdenv, nodejs, python2, pkgs, libtool, runCommand, writeTextFile, writeShellScript}:
|
||||
{lib, stdenv, nodejs, pkgs, libtool, runCommand, writeTextFile, writeShellScript}:
|
||||
|
||||
let
|
||||
python = if nodejs ? python then nodejs.python else python2;
|
||||
inherit (nodejs) python;
|
||||
|
||||
# Create a tar wrapper that filters all the 'Ignoring unknown extended header keyword' noise
|
||||
tarWrapper = runCommand "tarWrapper" {} ''
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
|
||||
let
|
||||
nodeEnv = import ../../development/node-packages/node-env.nix {
|
||||
inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript;
|
||||
inherit (pkgs) stdenv lib runCommand writeTextFile writeShellScript;
|
||||
inherit pkgs nodejs;
|
||||
libtool = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.cctools or pkgs.darwin.cctools else null;
|
||||
};
|
||||
|
||||
@@ -13,7 +13,6 @@ let
|
||||
inherit (pkgs)
|
||||
stdenv
|
||||
lib
|
||||
python2
|
||||
runCommand
|
||||
writeTextFile
|
||||
writeShellScript
|
||||
|
||||
@@ -13,7 +13,6 @@ let
|
||||
inherit (pkgs)
|
||||
stdenv
|
||||
lib
|
||||
python2
|
||||
runCommand
|
||||
writeTextFile
|
||||
writeShellScript
|
||||
|
||||
@@ -13,7 +13,6 @@ let
|
||||
inherit (pkgs)
|
||||
stdenv
|
||||
lib
|
||||
python2
|
||||
runCommand
|
||||
writeTextFile
|
||||
writeShellScript
|
||||
|
||||
Reference in New Issue
Block a user