diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-06-02 18:56:29 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-06-04 16:38:57 +0200 |
commit | 9a154e2838cbb4b830e59eee8ec923a1d1ce3f85 (patch) | |
tree | a1bd0fe8435c524d9bbda030f4266975027c082a /pkgs/development/libraries/aqbanking | |
parent | ee92256566298c25437fae0abd4c405925993cfd (diff) | |
download | nixpkgs-9a154e2838cbb4b830e59eee8ec923a1d1ce3f85.tar nixpkgs-9a154e2838cbb4b830e59eee8ec923a1d1ce3f85.tar.gz nixpkgs-9a154e2838cbb4b830e59eee8ec923a1d1ce3f85.tar.bz2 nixpkgs-9a154e2838cbb4b830e59eee8ec923a1d1ce3f85.tar.lz nixpkgs-9a154e2838cbb4b830e59eee8ec923a1d1ce3f85.tar.xz nixpkgs-9a154e2838cbb4b830e59eee8ec923a1d1ce3f85.tar.zst nixpkgs-9a154e2838cbb4b830e59eee8ec923a1d1ce3f85.zip |
gwenhywfar: Allow to override pluginSearchPaths
We're going to create a closure of plugins for aqbanking, so that it's easier to adapt the gwenhywfar search path to include these store paths. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @cillianderoiste, @urkud
Diffstat (limited to 'pkgs/development/libraries/aqbanking')
-rw-r--r-- | pkgs/development/libraries/aqbanking/gwenhywfar.nix | 12 |
1 files changed, 7 insertions, 5 deletions
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,\<PLUGINDIR\>,"${path}",g; |