File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 6
6
project = cabalProject' {
7
7
src = testSrc "ghcjs-overlay" ;
8
8
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
+ '' ;
17
20
# Alternative to the --sha256 comment in cabal.project
18
21
# sha256map = {
19
22
# "https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/bfc363b9f879c360e0a0460ec0c18ec87222ec32" =
You can’t perform that action at this time.
0 commit comments