Skip to content

Commit

Permalink
Exclude packages versions found in hackage from dummy-ghc
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Apr 29, 2024
1 parent 021122f commit aa7b1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/call-cabal-project-to-nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ let
fi
''
}
if [[ ! "${pkgs.lib.concatStringsSep " " (builtins.attrNames pkgs.haskell-nix.hackage.${name})}" =~ "$VER_${varname name}" ]]; then
if [[ ! "${pkgs.lib.concatStringsSep " " (builtins.attrNames pkgs.haskell-nix.hackage.${name} or {})}" =~ "$VER_${varname name}" ]]; then
PKGS+=" ${name}"
LAST_PKG="${name}"
fi
Expand Down

0 comments on commit aa7b1b5

Please sign in to comment.