haskell - How to fix "-no-user-package-conf is deprecated" warnings -
ever since upgraded ghc 7.6.2, i'm seeing warnings such following:
amy@wombat$ cabal install resolving dependencies... configuring realta-0.1.0.0... building realta-0.1.0.0... preprocessing executable 'realta-init' realta-0.1.0.0... on commandline: warning: -no-user-package-conf deprecated: utilize -no-user-package-db instead on commandline: warning: -package-conf deprecated: utilize -package-db instead
the warning has http://hackage.haskell.org/trac/ghc/ticket/5977. i'd prepare these warnings, if possible, can compile code -werror. using command cabal install -v
, found out cabal using flag ghc command, shown below.
/usr/local/ghc-7.6.2/bin/ghc --make -o dist/build/realta-init/realta-init -hide-all-packages -fbuilding-cabal-package -no-user-package-conf -package-conf , on
is there can cabal utilize new flags instead? (note: in ~/.cabal/config file, set user-install: false
, may relevant.
it seems fixed in head
(at to the lowest degree -package-conf
). can upgrade cabal-install
installing repo or wait next release.
haskell ghc cabal
No comments:
Post a Comment