We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c94f4af commit 6ebbbaeCopy full SHA for 6ebbbae
overlays/haskell.nix
@@ -602,7 +602,11 @@ final: prev: {
602
# Resulting nix files are added to nix-plan subdirectory.
603
callCabalProjectToNix = import ../lib/call-cabal-project-to-nix.nix {
604
index-state-hashes =
605
- import (sources.hackage + "/index-state.nix")
+ (
606
+ if builtins.pathExists (hackageSrc + "/index-state.nix")
607
+ then import (hackageSrc + "/index-state.nix")
608
+ else import (hackageSrc + "/index-state-hashes.nix")
609
+ )
610
// import (sources.hackage-internal + "/index-state.nix");
611
inherit (final.buildPackages.haskell-nix) haskellLib;
612
pkgs = final.buildPackages.pkgs;
0 commit comments