mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
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
15 lines
234 B
Nix
15 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;
|
|
}
|