mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03: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