1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Put setup hooks in the dev output if it exists

This commit is contained in:
Eelco Dolstra 2013-08-22 11:55:29 +02:00
parent 423705080e
commit bfa20c96cc

View file

@ -758,8 +758,8 @@ fixupPhase() {
fi
if [ -n "$setupHook" ]; then
mkdir -p "$out/nix-support"
substituteAll "$setupHook" "$out/nix-support/setup-hook"
mkdir -p "$_dev/nix-support"
substituteAll "$setupHook" "$_dev/nix-support/setup-hook"
fi
runHook postFixup