Skip to content

Commit 28ed4e2

Browse files
author
jared
committed
Added pkgsForCtl to perSystem _module.args
1 parent ca80f3e commit 28ed4e2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pkgs.nix

+13
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@
88
inherit system;
99
};
1010

11+
# TODO(bladyjoker): If we use recent nixpkgs we get: `error: nodejs_14 has been removed as it is EOL`. That's why we use CTL's old nixpkgs.
12+
pkgsForCtl = import inputs.ctl.inputs.nixpkgs {
13+
inherit system;
14+
inherit (inputs.haskell-nix) config;
15+
overlays = [
16+
inputs.haskell-nix.overlay
17+
inputs.iohk-nix.overlays.crypto
18+
inputs.iohk-nix.overlays.haskell-nix-crypto
19+
inputs.ctl.overlays.purescript
20+
inputs.ctl.overlays.spago
21+
];
22+
};
23+
1124
# TODO(bladyjoker): haskell.nix is brittle on its nixpkgs, and tends to break stuff for us, so we instantiate haskell.nix nixpkgs specifically. For example https://github.com/Plutonomicon/plutarch-plutus/pull/624
1225
pkgsForHaskellNix = import inputs.haskell-nix.inputs.nixpkgs {
1326
inherit system;

0 commit comments

Comments
 (0)