lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

aszlig 9a154e28 ee922565

+7 -5
+7 -5
pkgs/development/libraries/aqbanking/gwenhywfar.nix
··· 1 - { stdenv, fetchurl, gnutls, gtk, libgcrypt, pkgconfig, gettext, qt4 }: 1 + { stdenv, fetchurl, gnutls, gtk, libgcrypt, pkgconfig, gettext, qt4 2 + 3 + , pluginSearchPaths ? [ 4 + "/run/current-system/sw/lib/gwenhywfar/plugins" 5 + ".nix-profile/lib/gwenhywfar/plugins" 6 + ] 7 + }: 2 8 3 9 stdenv.mkDerivation rec { 4 10 name = "gwenhywfar-${version}"; ··· 15 21 }; 16 22 17 23 postPatch = let 18 - pluginSearchPaths = [ 19 - "/run/current-system/sw/lib/gwenhywfar/plugins" 20 - ".nix-profile/lib/gwenhywfar/plugins" 21 - ]; 22 24 isRelative = path: builtins.substring 0 1 path != "/"; 23 25 mkSearchPath = path: '' 24 26 p; g; s,\<PLUGINDIR\>,"${path}",g;