mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
16 lines
430 B
Bash
16 lines
430 B
Bash
|
source $stdenv/setup
|
||
|
|
||
|
# Setup isolated package management
|
||
|
postInstall()
|
||
|
{
|
||
|
ensureDir "$out/nix-support"
|
||
|
echo "# Path to the GHC compiler directory in the store" > $out/nix-support/setup-hook
|
||
|
echo "ghc=$out" >> $out/nix-support/setup-hook
|
||
|
echo "" >> $out/nix-support/setup-hook
|
||
|
cat $setupHook >> $out/nix-support/setup-hook
|
||
|
}
|
||
|
postInstall=postInstall
|
||
|
|
||
|
# Standard configure/make/make install
|
||
|
genericBuild
|