mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
pkgs/build-support/cabal: fix the logic of the 'noHaddock' flag that was broken in 27905ce17e
This commit is contained in:
parent
c9f7992282
commit
9f541bcdde
@ -150,7 +150,7 @@ assert enableCheckPhase -> stdenv.lib.versionOlder "7" ghc.ghcVersion;
|
||||
./Setup build
|
||||
|
||||
export GHC_PACKAGE_PATH=$(${ghc.GHCPackages})
|
||||
if [ -n "$noHaddock" ]; then
|
||||
if [ -z "$noHaddock" ]; then
|
||||
export LANG="en_US.UTF-8"
|
||||
./Setup haddock
|
||||
unset LANG
|
||||
|
Loading…
Reference in New Issue
Block a user