Skip to content

Commit a9dc70a

Browse files
committed
Enable Hoogle for local packages
It is not triggering a(nother) rebuild of GHC.
1 parent e4e8f0a commit a9dc70a

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

nix/haskell-nix-flake.nix

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,8 @@ in
9191
defaultPackage = haskell-nix-flake.packages."unison-cli-main:exe:unison";
9292

9393
devShells = let
94-
mkDevShell = pkg:
95-
shellFor {
96-
packages = _hpkgs: [pkg];
97-
## Enabling Hoogle causes us to rebuild GHC.
98-
withHoogle = false;
99-
};
94+
mkDevShell = pkg: shellFor {packages = _hpkgs: [pkg];};
10095
in
101-
{
102-
local = shellFor {
103-
packages = _hpkgs: builtins.attrValues localPackages;
104-
withHoogle = false;
105-
};
106-
}
96+
{local = shellFor {packages = _hpkgs: builtins.attrValues localPackages;};}
10797
// pkgs.lib.mapAttrs (_name: mkDevShell) localPackages;
10898
}

0 commit comments

Comments
 (0)