summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-12-04 02:33:42 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-04 02:33:42 +0100
commit375c4b110fed75600bf5d4e8c7371d6f784df0b1 (patch)
tree579dc6ac6924629e02a991af9c0fcddcd1cddaae /pkgs/applications/graphics/gimp
parentd2da3202eae6cd6e68e7b85aa04863e98141b9b0 (diff)
gimp: use prefix-relative libdir
Multiple outputs hard-code libdir, which prevents plug-ins to override it in gimpplugindir variable.
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix
index a67a03b3e070..2b3b992d24b5 100644
--- a/pkgs/applications/graphics/gimp/default.nix
+++ b/pkgs/applications/graphics/gimp/default.nix
@@ -157,6 +157,8 @@ in stdenv.mkDerivation rec {
"--without-webkit" # old version is required
"--with-bug-report-url=https://github.com/NixOS/nixpkgs/issues/new"
"--with-icc-directory=/run/current-system/sw/share/color/icc"
+ # fix libdir in pc files (${exec_prefix} needs to be passed verbatim)
+ "--libdir=\${exec_prefix}/lib"
];
# on Darwin,