node-env.nix: remove references to python2 (#391707)

This commit is contained in:
Gaétan Lepage
2025-03-29 21:31:26 +01:00
committed by GitHub
7 changed files with 3 additions and 8 deletions
@@ -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
+2 -2
View File
@@ -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
View File
@@ -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
-1
View File
@@ -13,7 +13,6 @@ let
inherit (pkgs)
stdenv
lib
python2
runCommand
writeTextFile
writeShellScript
-1
View File
@@ -13,7 +13,6 @@ let
inherit (pkgs)
stdenv
lib
python2
runCommand
writeTextFile
writeShellScript