[Nix-dev] fixing ghc-pkg update
roconnor at theorem.ca
roconnor at theorem.ca
Fri Jan 7 03:49:37 CET 2011
Nixers interested cabal might be intersting in following this bug I posted
to GHC trac:
http://hackage.haskell.org/trac/ghc/ticket/4884
basically
ghc-pkg --package-conf=myPkg1 --package-conf=myPkg2 --package-conf=myPkg3 --global --user update newPkg.conf
doesn't work properly. This is especially problematic for Nixers since
this is the usual behavour for the wrapper of ghc-pkg. And ghc-pkg update
is called by runhaskell Setup.hs install. So basically the cabal
installer (not to be confused with cabal-install) is useless in Nix at the
moment.
Why would you want to use the installer for cabal as opposed to hack-nix?
I don't know the answer to that, but we should strive to make cabal work
none the less. ;)
--
Russell O'Connor <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''
More information about the nix-dev
mailing list