Skip to content

Commit 133286e

Browse files
committed
Fix tests
1 parent f90e488 commit 133286e

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

lib/call-cabal-project-to-nix.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ in let
151151
let
152152
suitable-index-states =
153153
builtins.filter
154-
(s: s > index-state-max) # This compare is why we need zulu time
154+
(s: s >= index-state-max) # This compare is why we need zulu time
155155
(builtins.attrNames index-state-hashes);
156156
in
157157
if builtins.length suitable-index-states == 0

test/cabal.project.local

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ repository head.hackage.ghc.haskell.org
2323
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
2424
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
2525
7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
26-
--sha256: sha256-RQS0PUBA6nAD1T0OSVFhcF7ldh+6L+cW+k96Hgo3z5s=
26+
--sha256: sha256-xilNP+uPmCGM1NXZJYgCEYXmGdjnE8todMdQKJ2BkJw=
2727

2828
repository ghcjs-overlay
2929
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/ffb32dce467b9a4d27be759fdd2740a6edd09d0b
3030
secure: True
3131
root-keys:
3232
key-threshold: 0
33-
--sha256: sha256-mHxgsrbjHdyE8yqOkhZsk4WGKGZDFqSn07ENMPy1rVA=
33+
--sha256: sha256-RXRKmHMpOY7ePZGGabZ1YGhF42+eLslZEIMe2JUYwB0=
3434

3535
if os(ghcjs)
3636
extra-packages: ghci

test/gi-gtk/default.nix

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ let
1010
cabalProjectLocal = builtins.readFile ../cabal.project.local + ''
1111
-- The overloading feature of haskell-gi makes build times very long
1212
constraints: haskell-gi-overloading ==0.0
13-
-- Needed for the current nix-tools TODO remove once nix-tools is updated
14-
constraints: Cabal <3.12
1513
'';
1614
};
1715

0 commit comments

Comments
 (0)