From 148221d906a43ab282b2e1d19d18b1d82e67fa6d Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Wed, 11 Aug 2021 15:38:07 +0200 Subject: [PATCH] gimp-plugins: deprecate phases --- pkgs/applications/graphics/gimp/plugins/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index 2b8dbbc4d28d..1715542adce4 100644 --- a/pkgs/applications/graphics/gimp/plugins/default.nix +++ b/pkgs/applications/graphics/gimp/plugins/default.nix @@ -53,8 +53,13 @@ let ); scriptDerivation = {src, ...}@attrs : pluginDerivation ({ - phases = [ "extraLib" "installPhase" ]; - installPhase = "installScripts ${src}"; + prePhases = "extraLib"; + dontUnpack = true; + installPhase = '' + runHook preInstall + installScripts ${src} + runHook postInstall + ''; } // attrs); in {