We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5366b03 commit 7693c14Copy full SHA for 7693c14
lib/call-cabal-project-to-nix.nix
@@ -546,6 +546,10 @@ let
546
+ pkgs.lib.optionalString (name == "haskeline" && !pkgs.stdenv.targetPlatform.isWindows && ghc.enableTerminfo or true) ''
547
deps+=" terminfo"
548
''
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
+ ''
553
}
554
DEPS_${varname name}="$(tr '\n' ' ' <<< "$deps")"
555
VER_${varname name}="$(jq -r '.version' $json_cabal_file)"
0 commit comments