Skip to content

Commit

Permalink
IOG: cache patch
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Sep 18, 2021
1 parent af777b2 commit 3081a01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cli/main/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,10 @@ def _nix_build(
src: str,
) -> List[str]:
if cache is None:
substituters = "https://cache.nixos.org"
substituters = "https://cache.nixos.org https://hydra.iohk.io"
trusted_pub_keys = (
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= "
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= "
)
else:
substituters = " ".join(map(operator.itemgetter("url"), cache))
Expand Down

0 comments on commit 3081a01

Please sign in to comment.