From 115b3d943afb3f6640e4365b2f9ea59a9cda9561 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 21 Mar 2012 11:46:15 +0000 Subject: [PATCH] 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 --- pkgs/development/compilers/ghc/with-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/ghc/with-packages.nix b/pkgs/development/compilers/ghc/with-packages.nix index a64047a29064..5f36db177ec7 100644 --- a/pkgs/development/compilers/ghc/with-packages.nix +++ b/pkgs/development/compilers/ghc/with-packages.nix @@ -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];