Skip to content

Commit

Permalink
nix: Fix comment around hackage.nix/stackage.nix overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Oct 21, 2021
1 parent db038ac commit d43e5f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ let
iohkNixMain = import sources.iohk-nix {};
haskellNix = import sources."haskell.nix" {
inherit system;
# if niv sources hackage or stackage are present, pass them
# through to Haskell.nix.
# If niv sources for Hackage or Stackage are present, pass them through to Haskell.nix.
sourcesOverride =
(if builtins.hasAttr "hackage" sources then { inherit (sources) hackage; } else {}) //
(if builtins.hasAttr "stackage" sources then { inherit (sources) stackage; } else {})
Expand Down

0 comments on commit d43e5f4

Please sign in to comment.