Skip to content

Commit

Permalink
PLT-3983 Added CHaP input map to nix flake.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwbush committed Mar 30, 2023
1 parent 747ae6e commit 246be24
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
18 changes: 18 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";

inputs.CHaP = {
url = "github:input-output-hk/cardano-haskell-packages?ref=repo";
flake = false;
};

inputs.easy-purescript-nix = {
url = "github:justinwoo/easy-purescript-nix";
flake = false;
};

outputs = { self, nixpkgs, flake-utils, haskellNix, easy-purescript-nix, pre-commit-hooks, iohkNix }:
outputs = { self, nixpkgs, flake-utils, haskellNix, easy-purescript-nix, pre-commit-hooks, iohkNix, CHaP }:
let
supportedSystems = [
"x86_64-linux"
Expand Down Expand Up @@ -83,6 +88,9 @@
(final: prev: {
playground =
final.haskell-nix.cabalProject' {
inputMap = {
"https://input-output-hk.github.io/cardano-haskell-packages" = CHaP;
};
src = ./.;
compiler-nix-name = "ghc8107";
modules = [
Expand Down

0 comments on commit 246be24

Please sign in to comment.