summary refs log tree commit diff
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-08-11 15:38:07 +0200
committerFelix Buehler <account@buehler.rocks>2021-08-12 22:21:53 +0200
commit148221d906a43ab282b2e1d19d18b1d82e67fa6d (patch)
treebdca715e8e3760d72a6c0561f6af1a94d2406f76 /pkgs/applications/graphics/gimp
parentcf73f351382ccb7279695474bc00e6ca0813e030 (diff)
downloadnixpkgs-148221d906a43ab282b2e1d19d18b1d82e67fa6d.tar
nixpkgs-148221d906a43ab282b2e1d19d18b1d82e67fa6d.tar.gz
nixpkgs-148221d906a43ab282b2e1d19d18b1d82e67fa6d.tar.bz2
nixpkgs-148221d906a43ab282b2e1d19d18b1d82e67fa6d.tar.lz
nixpkgs-148221d906a43ab282b2e1d19d18b1d82e67fa6d.tar.xz
nixpkgs-148221d906a43ab282b2e1d19d18b1d82e67fa6d.tar.zst
nixpkgs-148221d906a43ab282b2e1d19d18b1d82e67fa6d.zip
gimp-plugins: deprecate phases
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 2b8dbbc4d28..1715542adce 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
 {