Skip to content

Commit 7693c14

Browse files
committed
Also fix Win32:filepath
1 parent 5366b03 commit 7693c14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,10 @@ let
546546
+ pkgs.lib.optionalString (name == "haskeline" && !pkgs.stdenv.targetPlatform.isWindows && ghc.enableTerminfo or true) ''
547547
deps+=" terminfo"
548548
''
549+
# Similar issue for Win32:filepath build-depends (hidden behind `if impl(ghc >= 8.0)`)
550+
+ pkgs.lib.optionalString (name == "Win32" && pkgs.stdenv.targetPlatform.isWindows) ''
551+
deps+=" filepath"
552+
''
549553
}
550554
DEPS_${varname name}="$(tr '\n' ' ' <<< "$deps")"
551555
VER_${varname name}="$(jq -r '.version' $json_cabal_file)"

0 commit comments

Comments
 (0)