Skip to content

Commit dfafbf1

Browse files
committed
Include the Cabal freeze file on the CI
1 parent 7b926ce commit dfafbf1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

client-haskell/icepeak-client.nix

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ mkDerivation {
2727
src = lib.cleanSource ./.;
2828
filter = gitignoreFilter;
2929
};
30-
in whitelistedSrc;
30+
# Including the freeze file here will alert us if nixpkgs has been updated
31+
# without also updating the freeze file for non-Nix builds
32+
in whitelistedSrc // { "cabal.project.freeze" = ../cabal.project.freeze; };
3133

3234
isLibrary = true;
3335
isExecutable = false;

server/icepeak.nix

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ mkDerivation {
3232
src = lib.cleanSource ./.;
3333
filter = gitignoreFilter;
3434
};
35-
in whitelistedSrc;
35+
# Including the freeze file here will alert us if nixpkgs has been updated
36+
# without also updating the freeze file for non-Nix builds
37+
in whitelistedSrc // { "cabal.project.freeze" = ../cabal.project.freeze; };
3638

3739
isLibrary = false;
3840
isExecutable = true;

0 commit comments

Comments
 (0)