diff --git a/pkgs/development/libraries/aqbanking/gwenhywfar.nix b/pkgs/development/libraries/aqbanking/gwenhywfar.nix index 6a3bc255535..70e7b1c33c0 100644 --- a/pkgs/development/libraries/aqbanking/gwenhywfar.nix +++ b/pkgs/development/libraries/aqbanking/gwenhywfar.nix @@ -1,4 +1,10 @@ -{ stdenv, fetchurl, gnutls, gtk, libgcrypt, pkgconfig, gettext, qt4 }: +{ stdenv, fetchurl, gnutls, gtk, libgcrypt, pkgconfig, gettext, qt4 + +, pluginSearchPaths ? [ + "/run/current-system/sw/lib/gwenhywfar/plugins" + ".nix-profile/lib/gwenhywfar/plugins" + ] +}: stdenv.mkDerivation rec { name = "gwenhywfar-${version}"; @@ -15,10 +21,6 @@ stdenv.mkDerivation rec { }; postPatch = let - pluginSearchPaths = [ - "/run/current-system/sw/lib/gwenhywfar/plugins" - ".nix-profile/lib/gwenhywfar/plugins" - ]; isRelative = path: builtins.substring 0 1 path != "/"; mkSearchPath = path: '' p; g; s,\,"${path}",g;