add preInstall hook

This commit is contained in:
Adithya 2023-11-09 20:31:28 +05:30
parent c9ed2faa54
commit 4088925e22
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -22,6 +22,8 @@ stdenvNoCC.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp power-menu.sh $out/bin/power-menu