fix %cabal -no-user-package-conf error in last commit

ghc takes "-no-user-package-db" vs ghc-pkg's "--no-user-package-db"
epel9
Jens Petersen 12 years ago
parent 6910d07de7
commit 237337a6c6

@ -2,7 +2,7 @@
# see https://fedoraproject.org/wiki/Packaging:Haskell for more details # see https://fedoraproject.org/wiki/Packaging:Haskell for more details
# "cabal" # "cabal"
%cabal [ -x Setup ] || ghc --make %{!?ghc_user_conf:--no-user-package-db} %{!?ghc_without_dynamic:-dynamic} Setup\ %cabal [ -x Setup ] || ghc --make %{!?ghc_user_conf:-no-user-package-db} %{!?ghc_without_dynamic:-dynamic} Setup\
./Setup ./Setup
# check ghc version was rebuilt against self # check ghc version was rebuilt against self

Loading…
Cancel
Save