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