Skip to content

Commit b2aba26

Browse files
committed
Work around double conversion hackage revision
1 parent 8bdd53c commit b2aba26

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

test/ghcjs-overlay/default.nix

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ let
66
project = cabalProject' {
77
src = testSrc "ghcjs-overlay";
88
inherit compiler-nix-name evalPackages;
9-
cabalProjectLocal = lib.optionalString stdenv.hostPlatform.isGhcjs ''
10-
repository ghcjs-overlay
11-
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/bfc363b9f879c360e0a0460ec0c18ec87222ec32
12-
secure: True
13-
root-keys:
14-
key-threshold: 0
15-
--sha256: sha256-y1vQnXI1XzkjnC4h66tVDmu2TZjZPcMrZEnE3m0XOfg=
16-
'';
9+
cabalProjectLocal = if stdenv.hostPlatform.isGhcjs then ''
10+
repository ghcjs-overlay
11+
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/67e08ddf1d405f6a858b5dbb4ef0e9e59c5809db
12+
secure: True
13+
root-keys:
14+
key-threshold: 0
15+
--sha256: sha256-y1vQnXI1XzkjnC4h66tVDmu2TZjZPcMrZE003m0XOfg=
16+
''
17+
else ''
18+
allow-newer: double-conversion:bytestring
19+
'';
1720
# Alternative to the --sha256 comment in cabal.project
1821
# sha256map = {
1922
# "https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/bfc363b9f879c360e0a0460ec0c18ec87222ec32" =

0 commit comments

Comments
 (0)