nodejs: add python to passthru

so nodeEnv uses the exact same version.

See also https://github.com/svanderburg/node2nix/issues/25
wip/yesman
Frederik Rietdijk 8 years ago
parent ef981df445
commit 2de9321880
  1. 4
      pkgs/development/node-packages/composition-v4.nix
  2. 4
      pkgs/development/node-packages/composition-v6.nix
  3. 4
      pkgs/development/node-packages/node-env.nix
  4. 2
      pkgs/development/web/nodejs/nodejs.nix
  5. 4
      pkgs/servers/web-apps/pump.io/composition.nix
  6. 4
      pkgs/tools/package-management/nixui/nixui.nix

@ -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

@ -67,4 +67,6 @@ in
maintainers = with maintainers; [ goibhniu havvy gilligan cko ];
platforms = platforms.linux ++ platforms.darwin;
};
passthru.python = python2; # to ensure nodeEnv uses the same version
}

@ -6,11 +6,11 @@
let
nodeEnv = import ../../../development/node-packages/node-env.nix {
inherit (pkgs) stdenv python utillinux runCommand writeTextFile;
inherit (pkgs) stdenv utillinux runCommand writeTextFile;
inherit nodejs;
};
in
import ./node-packages.nix {
inherit (pkgs) fetchurl fetchgit;
inherit nodeEnv;
}
}

@ -6,11 +6,11 @@
let
nodeEnv = import ../../../development/node-packages/node-env.nix {
inherit (pkgs) stdenv python utillinux runCommand writeTextFile;
inherit (pkgs) stdenv utillinux runCommand writeTextFile;
inherit nodejs;
};
in
import ./node-packages.nix {
inherit (pkgs) fetchurl fetchgit;
inherit nodeEnv;
}
}

Loading…
Cancel
Save