How can one register a package built with cabal-dev?
问题 I was able to use cabal-dev to build some packages that cabal was having issues with. ( help with cabal install package shadowing errors ). How does one then install and use them? I tried copying the package database files into the ~/.ghc/x86_64-linux-7.0.4/package.conf.d folder, and running ghc-pkg recache --user , but no luck. (They do show up in ghc-pkg now though). 回答1: This seems to work, though it's more crap I have to put in my zshrc... export GHC_PACKAGE_PATH=$HOME/cabal-dev/packages