ffcd38403e
$out/lib/ghc-pkgs/ghc-<version>/<package>.conf instead of under $out/nix-support/ghc-package.conf. This makes them visible in the user's profile when installed with nix-env. svn path=/nixpkgs/trunk/; revision=15135
16 lines
234 B
Nix
16 lines
234 B
Nix
{stdenv, ghc}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "${ghc.name}-wrapper";
|
|
|
|
propagatedBuildInputs = [ghc];
|
|
|
|
unpackPhase = "true";
|
|
installPhase = "true";
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
inherit ghc;
|
|
ghcVersion = ghc.version;
|
|
}
|