From d8ae637d5f4f178e739c5fe92a00e73bd0881ea2 Mon Sep 17 00:00:00 2001 From: uku Date: Tue, 5 Nov 2024 13:34:28 +0100 Subject: [PATCH] fix(openwebstart): run hooks --- pkgs/openwebstart.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/openwebstart.nix b/pkgs/openwebstart.nix index b3b2dfb..da68b09 100644 --- a/pkgs/openwebstart.nix +++ b/pkgs/openwebstart.nix @@ -21,10 +21,16 @@ stdenv.mkDerivation (finalAttrs: { sourceRoot = "opt/OpenWebStart"; unpackPhase = '' + runHook preUnpack + dpkg-deb -x $src . + + runHook postUnpack ''; installPhase = '' + runHook preInstall + mkdir -p $out/lib cp openwebstart.jar $out/lib/ @@ -37,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: { mkdir -p $out/share/pixmaps cp App-Icon-512.png $out/share/pixmaps/openwebstart-settings.png cp Icon-512.png $out/share/pixmaps/openwebstart.png + + runHook postInstall ''; dontBuild = true;