[Nix-dev] Conflict between ghc-7.4.1-linkdir and haskell-env-ghc-7.4.1
Aristid Breitkreuz
aristidb at googlemail.com
Fri Mar 30 22:03:13 CEST 2012
Hi Nix list,
I use haskellPackages_ghc741.ghcWithPackage to install my GHC (as Andres
Löh explained to me), and had a conflict between ghc-7.4.1-linkdir and
haskell-env-ghc-7.4.1 when trying to add a new package to the configuration
of ghcWithPackage:
Collission between
`/nix/store/ifjid0cil62kh5z6dbqh0vwag61j1hng-haskell-env-ghc-7.4.1/bin/cpphs'
and
`/nix/store/g045kraz73m00c56a76i4zff5phg6i1i-ghc-7.4.1-linkdir/bin/cpphs'.
Suggested solution: use `nix-env --set-flag priority NUMBER PKGNAME' to
change the priority of one of the conflicting packages.
I could successfully resolve this by giving haskell-env-ghc-7.4.1 a lower
(winning) priority, but I also noticed that the two cpphs binaries were
exactly the same. Is this supposed to be this way?
Thanks,
Aristid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120330/8c272a5f/attachment.html
More information about the nix-dev
mailing list