From 4088925e2237f94da31e6ae048352c4d93ccc259 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 9 Nov 2023 20:31:28 +0530 Subject: [PATCH] add preInstall hook --- packages/scripts/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/scripts/default.nix b/packages/scripts/default.nix index 84d579f..940b40f 100644 --- a/packages/scripts/default.nix +++ b/packages/scripts/default.nix @@ -22,6 +22,8 @@ stdenvNoCC.mkDerivation { nativeBuildInputs = [ makeWrapper ]; installPhase = '' + runHook preInstall + mkdir -p $out/bin cp power-menu.sh $out/bin/power-menu