Skip to content

Commit

Permalink
Merge pull request #76 from input-output-hk/sl/flake-improvements
Browse files Browse the repository at this point in the history
flake improvements
  • Loading branch information
newhoggy committed Jun 26, 2023
2 parents 873c34f + 2c29490 commit a060630
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@
inputMap = {
"https://input-output-hk.github.io/cardano-haskell-packages" = inputs.CHaP;
};

# Also currently needed to make `nix flake lock --update-input CHaP` work.
cabalProjectLocal = ''
repository cardano-haskell-packages-local
url: file:${inputs.CHaP}
secure: True
active-repositories: hackage.haskell.org, cardano-haskell-packages-local
'';
# tools we want in our shell, from hackage
shell.tools =
{
Expand Down Expand Up @@ -117,6 +123,7 @@
);
in
nixpkgs.lib.recursiveUpdate flake rec {
project = cabalProject;
# add a required job, that's basically all hydraJobs.
hydraJobs =
nixpkgs.callPackages inputs.iohkNix.utils.ciJobsAggregates
Expand Down

0 comments on commit a060630

Please sign in to comment.