Skip to content

Commit

Permalink
Try to build with time-1.14 on Windows cross
Browse files Browse the repository at this point in the history
  • Loading branch information
amesgen committed Jun 18, 2024
1 parent 0b50dec commit bb2870a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,16 @@ packages:
tests: true
benchmarks: true

extra-packages: Cabal

import: ./asserts.cabal

-- We need to disable bitvec's SIMD for now, as it breaks during cross compilation.
if(os(windows))
constraints:
bitvec -simd

-- Workaround for a haskell.nix bug around pre-installed libraries. Might be
-- fixed by https://github.com/input-output-hk/haskell.nix/pull/2218.
extra-packages: Cabal
if os(windows)
constraints: time ^>=1.14
allow-newer: *:time

0 comments on commit bb2870a

Please sign in to comment.