grilo: add setup hook for grilo plugins
This commit is contained in:
parent
763fda70f0
commit
ed3c294e75
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "11bvc7rsrjjwz8hp67p3fn8zmywrpawrcbi3vgw8b0dwa0sndd2m";
|
sha256 = "11bvc7rsrjjwz8hp67p3fn8zmywrpawrcbi3vgw8b0dwa0sndd2m";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
configureFlags = [ "--enable-grl-pls" "--enable-grl-net" ];
|
configureFlags = [ "--enable-grl-pls" "--enable-grl-net" ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
7
pkgs/desktops/gnome-3/3.16/core/grilo/setup-hook.sh
Normal file
7
pkgs/desktops/gnome-3/3.16/core/grilo/setup-hook.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
make_grilo_find_plugins() {
|
||||||
|
if [ -d "$1"/lib/grilo-0.2 ]; then
|
||||||
|
addToSearchPath GRL_PLUGIN_PATH "$1/lib/grilo-0.2"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
envHooks+=(make_grilo_find_plugins)
|
Loading…
x
Reference in New Issue
Block a user