Skip to content

Commit 2e6e72a

Browse files
michaelpjkderme
authored andcommitted
Fix default.nix
1 parent 2c0f2ce commit 2e6e72a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nix/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,21 @@ let
1414
"iohk-nix" = compat flakeLock.${flakeLock.root.inputs.iohkNix};
1515
"cardano-world" = compat flakeLock.${flakeLock.root.inputs.cardano-world};
1616
"flake-compat" = compat flakeLock.${flakeLock.root.inputs.flake-compat};
17+
"CHaP" = compat flakeLock.${flakeLock.root.inputs.CHaP};
1718
};
1819
sources = flakeSources // sourcesOverride;
1920
iohkNix = import sources.iohk-nix { inherit system; };
2021
flake-compat = import sources.flake-compat;
2122
haskellNix = import sources."haskell.nix" { inherit system sourcesOverride; };
2223
nixpkgs = haskellNix.sources.nixpkgs-unstable;
24+
CHaP = sources.CHaP;
2325
cardano-world = flake-compat {
2426
inherit pkgs;
2527
src = sources.cardano-world;
2628
};
2729

30+
inputMap = { "https://input-output-hk.github.io/cardano-haskell-packages" = CHaP; };
31+
2832
# for inclusion in pkgs:
2933
overlays =
3034
# Haskell.nix (https://github.com/input-output-hk/haskell.nix)
@@ -62,7 +66,7 @@ let
6266
};
6367
})
6468
# And, of course, our haskell-nix-ified cabal project:
65-
(import ./pkgs.nix)
69+
(import ./pkgs.nix { inherit inputMap; })
6670
];
6771

6872
pkgs = import nixpkgs {

0 commit comments

Comments
 (0)