Skip to content

Commit b1ba5a6

Browse files
committed
WIP
1 parent 356907e commit b1ba5a6

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

overlays/haskell.nix

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -482,26 +482,19 @@ final: prev: {
482482
{ compiler.nix-name = args.compiler-nix-name; };
483483
extra-hackages = args.extra-hackages or [];
484484
};
485-
<<<<<<< variant A
486-
in addProjectAndPackageAttrs {
487-
inherit (pkg-set.config) hsPkgs;
488-
inherit pkg-set;
489-
plan-nix = callProjectResults.projectNix;
490-
inherit (callProjectResults) index-state;
491-
tool = final.buildPackages.haskell-nix.tool pkg-set.config.compiler.nix-name;
492-
tools = final.buildPackages.haskell-nix.tools pkg-set.config.compiler.nix-name;
493-
roots = final.haskell-nix.roots pkg-set.config.compiler.nix-name;
494-
>>>>>>> variant B
485+
495486
project = addProjectAndPackageAttrs rec {
496487
inherit (pkg-set.config) hsPkgs;
497488
inherit pkg-set;
498489
plan-nix = callProjectResults.projectNix;
499490
inherit (callProjectResults) index-state;
491+
tool = final.buildPackages.haskell-nix.tool pkg-set.config.compiler.nix-name;
492+
tools = final.buildPackages.haskell-nix.tools pkg-set.config.compiler.nix-name;
493+
roots = final.haskell-nix.roots pkg-set.config.compiler.nix-name;
500494
};
501495
in project // {
502496
projectCoverageReport = haskellLib.projectCoverageReport' { packages = haskellLib.selectProjectPackages project.hsPkgs; };
503497
overrideModules = f: cabalProject' (args // { modules = f args.modules; });
504-
======= end
505498
};
506499

507500
# Take `hsPkgs` from the `rawProject` and update all the packages and

0 commit comments

Comments
 (0)