gimp: use prefix-relative libdir

Multiple outputs hard-code libdir, which prevents plug-ins to override it in gimpplugindir variable.
This commit is contained in:
Jan Tojnar 2019-12-04 02:33:42 +01:00
parent d2da3202ea
commit 375c4b110f
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -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,