* Cabal builder: put the GHC version in the default name attribute to

disambiguate between package instances built with different GHCs.

svn path=/nixpkgs/trunk/; revision=15132
This commit is contained in:
Eelco Dolstra
2009-04-18 16:21:59 +00:00
parent 37f707fd92
commit ca8b45d441
3 changed files with 6 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ attrs :
# all packages with haskell- to avoid name clashes for libraries;
# if that is not desired (for applications), name can be set to
# fname.
name = "haskell-${self.fname}";
name = "haskell-${self.pname}-ghc${attrs.ghc.ghc.version}-${self.version}";
# the default download location for Cabal packages is Hackage,
# you still have to specify the checksum