mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue