From 65ced40c4ce37d01fc9fc2538ec8b29fe295b3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 29 Dec 2025 23:18:01 +0100 Subject: [PATCH] gimp: fix --- flake.nix | 3 ++- packages/gimp.nix | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 91c4435..f6cee20 100644 --- a/flake.nix +++ b/flake.nix @@ -284,6 +284,7 @@ # my packages betacode = prev.callPackage packages/betacode.nix { }; + bring-out-the-gimp = prev.callPackage packages/gimp.nix { }; closest = prev.callPackage packages/closest { }; default-gateway = prev.callPackage packages/default-gateway.nix { }; depp = prev.callPackage packages/depp.nix { }; @@ -517,7 +518,7 @@ fkill fzfmenu gfs-fonts - gimp + bring-out-the-gimp go-webring hc heuretes diff --git a/packages/gimp.nix b/packages/gimp.nix index 3cfcd80..b105992 100644 --- a/packages/gimp.nix +++ b/packages/gimp.nix @@ -10,18 +10,18 @@ let url = "https://c.krebsco.de/bring-out-the-gimp.png"; hash = "sha256-k42M5j58OzbcMJwx9CeM2mD2VsVwPKHwJvU55+Rkowc="; }; - data-dir-prefix = "share/gimp/2.0"; + data-dir-prefix = "share/gimp/3.0"; data-dir = symlinkJoin { name = "gimp"; paths = [ (runCommand "splash" { } '' mkdir -p $out/${data-dir-prefix}/images - install ${bring-out-the-gimp} $out/share/gimp/2.0/images/gimp-splash.png + install ${bring-out-the-gimp} ${placeholder "out"}/share/gimp/3.0/images/gimp-splash.png '') gimp ]; }; in writers.writeDashBin "gimp" '' - exec env GIMP2_DATADIR=${data-dir}/${data-dir-prefix} ${gimp}/bin/gimp "$@" + exec env GIMP3_DATADIR=${data-dir}/${data-dir-prefix} ${gimp}/bin/gimp "$@" ''