compilers/ghcjs/base.nix: Take ghcjsNodePkgs as argument
This commit is contained in:
parent
4494b18fe4
commit
1684c9a6a0
@ -39,6 +39,11 @@
|
||||
, coreutils
|
||||
, libiconv
|
||||
|
||||
, ghcjsNodePkgs ? callPackage ../../../top-level/node-packages.nix {
|
||||
generated = ./node-packages-generated.nix;
|
||||
self = ghcjsNodePkgs;
|
||||
}
|
||||
|
||||
, version ? "0.2.0"
|
||||
, ghcjsSrc ? fetchFromGitHub {
|
||||
owner = "ghcjs";
|
||||
@ -160,12 +165,7 @@ in mkDerivation (rec {
|
||||
--with-gmp-includes ${gmp.dev}/include \
|
||||
--with-gmp-libraries ${gmp.out}/lib
|
||||
'';
|
||||
passthru = let
|
||||
ghcjsNodePkgs = callPackage ../../../top-level/node-packages.nix {
|
||||
generated = ./node-packages-generated.nix;
|
||||
self = ghcjsNodePkgs;
|
||||
};
|
||||
in {
|
||||
passthru = {
|
||||
inherit bootPkgs;
|
||||
isCross = true;
|
||||
isGhcjs = true;
|
||||
|
Loading…
Reference in New Issue
Block a user