Skip to content

Commit e28fa48

Browse files
committed
Move hadrian plans into the project roots
1 parent 0f430d2 commit e28fa48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ dimension "Nixpkgs version" nixpkgsVersions (nixpkgsName: pinnedNixpkgsSrc:
121121
# Native builds
122122
# TODO: can we merge this into the general case by picking an appropriate "cross system" to mean native?
123123
native = pkgs.recurseIntoAttrs ({
124-
roots = pkgs.haskell-nix.roots' { inherit compiler-nix-name evalPackages; } ifdLevel
124+
roots = pkgs.haskell-nix.roots' { inherit compiler-nix-name evalPackages; } ifdLevel;
125125
} // pkgs.lib.optionalAttrs runTests {
126126
inherit (build) tests tools maintainer-scripts maintainer-script-cache;
127127
} // pkgs.lib.optionalAttrs (ifdLevel >= 3) rec {

overlays/haskell.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ final: prev: {
705705
inherit (callProjectResults) index-state-max;
706706
tool = final.buildPackages.haskell-nix.tool' evalPackages pkg-set.config.compiler.nix-name;
707707
tools = final.buildPackages.haskell-nix.tools' evalPackages pkg-set.config.compiler.nix-name;
708-
roots = final.haskell-nix.roots { inherit (pkg-set.config) compiler.nix-name; inherit evalPackages; }
708+
roots = final.haskell-nix.roots { compiler-nix-name = pkg-set.config.compiler.nix-name; inherit evalPackages; };
709709
projectFunction = haskell-nix: haskell-nix.cabalProject';
710710
inherit projectModule buildProject;
711711
};
@@ -966,7 +966,7 @@ final: prev: {
966966
stack-nix = callProjectResults.projectNix;
967967
tool = final.buildPackages.haskell-nix.tool' evalPackages pkg-set.config.compiler.nix-name;
968968
tools = final.buildPackages.haskell-nix.tools' evalPackages pkg-set.config.compiler.nix-name;
969-
roots = final.haskell-nix.roots { inherit (pkg-set.config) compiler.nix-name; inherit evalPackages; }
969+
roots = final.haskell-nix.roots { compiler-nix-name = pkg-set.config.compiler.nix-name; inherit evalPackages; };
970970
projectFunction = haskell-nix: haskell-nix.stackProject';
971971
inherit projectModule buildProject;
972972
};

0 commit comments

Comments
 (0)