Skip to content

Commit

Permalink
Try #1786:
Browse files Browse the repository at this point in the history
  • Loading branch information
iohk-bors[bot] committed Nov 21, 2022
2 parents 8bdd53c + 01f3fb3 commit e3b8f95
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions test/ghcjs-overlay/default.nix
Expand Up @@ -6,14 +6,17 @@ let
project = cabalProject' {
src = testSrc "ghcjs-overlay";
inherit compiler-nix-name evalPackages;
cabalProjectLocal = lib.optionalString stdenv.hostPlatform.isGhcjs ''
repository ghcjs-overlay
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/bfc363b9f879c360e0a0460ec0c18ec87222ec32
secure: True
root-keys:
key-threshold: 0
--sha256: sha256-y1vQnXI1XzkjnC4h66tVDmu2TZjZPcMrZEnE3m0XOfg=
'';
cabalProjectLocal = if stdenv.hostPlatform.isGhcjs then ''
repository ghcjs-overlay
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/bfc363b9f879c360e0a0460ec0c18ec87222ec32
secure: True
root-keys:
key-threshold: 0
--sha256: sha256-y1vQnXI1XzkjnC4h66tVDmu2TZjZPcMrZEnE3m0XOfg=
''
else ''
allow-newer: double-conversion:bytestring
'';
# Alternative to the --sha256 comment in cabal.project
# sha256map = {
# "https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/bfc363b9f879c360e0a0460ec0c18ec87222ec32" =
Expand Down

0 comments on commit e3b8f95

Please sign in to comment.