1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{stdenv, ghc}: stdenv.mkDerivation { name = "ghc-wrapper-${ghc.version}"; propagatedBuildInputs = [ghc]; unpackPhase = "true"; installPhase = "true"; setupHook = ./setup-hook.sh; inherit ghc; ghcVersion = ghc.version; }