summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Gräfenstein <s@muel.gr>2022-03-06 18:40:06 +0100
committerKerstin <kerstin@erictapen.name>2022-03-18 15:18:26 +0100
commit10cdd65259a5b30c90ed78a479e01d0702099261 (patch)
tree3e2f82aac5b81df9b5488e3c272b196000415b86
parent46e3ed49ec36f341c173331dc788115d6836c7ab (diff)
downloadnixpkgs-10cdd65259a5b30c90ed78a479e01d0702099261.tar
nixpkgs-10cdd65259a5b30c90ed78a479e01d0702099261.tar.gz
nixpkgs-10cdd65259a5b30c90ed78a479e01d0702099261.tar.bz2
nixpkgs-10cdd65259a5b30c90ed78a479e01d0702099261.tar.lz
nixpkgs-10cdd65259a5b30c90ed78a479e01d0702099261.tar.xz
nixpkgs-10cdd65259a5b30c90ed78a479e01d0702099261.tar.zst
nixpkgs-10cdd65259a5b30c90ed78a479e01d0702099261.zip
gimp-with-plugins: add meta.mainProgram
-rw-r--r--pkgs/applications/graphics/gimp/default.nix1
-rw-r--r--pkgs/applications/graphics/gimp/wrapper.nix2
2 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix
index 9a91e5f8c6e..55c95c95cf7 100644
--- a/pkgs/applications/graphics/gimp/default.nix
+++ b/pkgs/applications/graphics/gimp/default.nix
@@ -180,5 +180,6 @@ in stdenv.mkDerivation rec {
     maintainers = with maintainers; [ jtojnar ];
     license = licenses.gpl3Plus;
     platforms = platforms.unix;
+    mainProgram = "gimp";
   };
 }
diff --git a/pkgs/applications/graphics/gimp/wrapper.nix b/pkgs/applications/graphics/gimp/wrapper.nix
index 679e9136c44..353990ca3a9 100644
--- a/pkgs/applications/graphics/gimp/wrapper.nix
+++ b/pkgs/applications/graphics/gimp/wrapper.nix
@@ -26,4 +26,6 @@ in symlinkJoin {
       ln -sf "$each-${versionBranch}" $out/bin/$each
     done
   '';
+
+  inherit (gimp) meta;
 }