Run install hooks in Nix package
This commit is contained in:
parent
6f1e6ba04e
commit
180f04c415
1 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,10 @@ mkDerivation {
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
cp -r /build/source/* $out/
|
cp -r /build/source/* $out/
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue