pkgs/development/compilers/ghc/with-packages.nix: renamed this expression from "ghc-${ghc.version}-linkdir" to "haskell-env-${ghc.name}"

This change allows use of the with-packages wrapper in user profiles that are
being updated with "nix-env -u \*". The previous name this expression generated
was considered by Nix to be an older version of "ghc-7.0.4-wrapper", because
that name has a higher priority.

svn path=/nixpkgs/trunk/; revision=33325
This commit is contained in:
Peter Simons 2012-03-21 11:46:15 +00:00
parent d8e65ee71d
commit 115b3d943a

View File

@ -1,7 +1,7 @@
{stdenv, ghc, packages ? [], makeWrapper}:
stdenv.mkDerivation rec {
name = "ghc-${ghc.version}-linkdir";
name = "haskell-env-${ghc.name}";
allPackages = stdenv.lib.closePropagation packages;
buildInputs = allPackages ++ [makeWrapper];