Skip to content

Commit 6eb84a8

Browse files
disassemblerhamishmackamesgen
committed
Workarounds for haskell.nix bugs re pre-installed packages
Co-authored-by: Hamish Mackenzie <[email protected]> Co-authored-by: Alexander Esgen <[email protected]>
1 parent f58ddee commit 6eb84a8

File tree

3 files changed

+30
-26
lines changed

3 files changed

+30
-26
lines changed

cabal.project

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,10 @@ import: ./asserts.cabal
3636
if(os(windows))
3737
constraints:
3838
bitvec -simd
39+
40+
-- Workaround for a haskell.nix bug around pre-installed libraries. Might be
41+
-- fixed by https://github.com/input-output-hk/haskell.nix/pull/2218.
42+
extra-packages: Cabal
43+
if os(windows)
44+
constraints: time ^>=1.14
45+
allow-newer: *:time

flake.lock

Lines changed: 22 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
nixpkgs.follows = "haskellNix/nixpkgs-unstable";
1313
flake-utils.url = "github:numtide/flake-utils";
1414
haskellNix = {
15-
# temporarily use the static-nix-tools branch until it's merged to work
16-
# aroundt he Cabal build issues.
17-
url = "github:input-output-hk/haskell.nix/static-nix-tools";
15+
url = "github:input-output-hk/haskell.nix";
1816
inputs.hackage.follows = "hackageNix";
1917
};
2018
hackageNix = {

0 commit comments

Comments
 (0)