Skip to content

Commit cc0cde9

Browse files
committed
Keep haskell.nix pinned in nix-tools
1 parent 94c9009 commit cc0cde9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

flake.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,15 @@
239239
hydraJobs = forEachSystem (system:
240240
let
241241
# Include hydraJobs from nix-tools subflake.
242+
# NOTE: These derivations do not depend on the haskell.nix in ./. but
243+
# on the version of haskell.nix locked in the subflake. They are
244+
# evaluated within their own flake and independently of anything
245+
# else. Here we only expose them in the main flake.
242246
nix-tools-hydraJobs =
243247
let cf = callFlake {
244248
inherit system;
245249
pkgs = self.legacyPackages.${system};
246250
src = ./nix-tools;
247-
override-inputs.haskellNix = self;
248251
};
249252
in cf.defaultNix.hydraJobs;
250253
in

0 commit comments

Comments
 (0)