nodejs: add python to passthru
so nodeEnv uses the exact same version. See also https://github.com/svanderburg/node2nix/issues/25
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
|
||||
let
|
||||
nodeEnv = import ./node-env.nix {
|
||||
inherit (pkgs) stdenv python utillinux runCommand writeTextFile;
|
||||
inherit (pkgs) stdenv utillinux runCommand writeTextFile;
|
||||
inherit nodejs;
|
||||
};
|
||||
in
|
||||
import ./node-packages-v4.nix {
|
||||
inherit (pkgs) fetchurl fetchgit;
|
||||
inherit nodeEnv;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
let
|
||||
nodeEnv = import ./node-env.nix {
|
||||
inherit (pkgs) stdenv python utillinux runCommand writeTextFile;
|
||||
inherit (pkgs) stdenv utillinux runCommand writeTextFile;
|
||||
inherit nodejs;
|
||||
};
|
||||
in
|
||||
import ./node-packages-v6.nix {
|
||||
inherit (pkgs) fetchurl fetchgit;
|
||||
inherit nodeEnv;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
# This file originates from node2nix
|
||||
|
||||
{stdenv, python, nodejs, utillinux, runCommand, writeTextFile}:
|
||||
{stdenv, nodejs, utillinux, runCommand, writeTextFile}:
|
||||
|
||||
let
|
||||
inherit (nodejs) python;
|
||||
|
||||
# Create a tar wrapper that filters all the 'Ignoring unknown extended header keyword' noise
|
||||
tarWrapper = runCommand "tarWrapper" {} ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
Reference in New Issue
Block a user