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:
parent
423705080e
commit
bfa20c96cc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue