1 { makeWrapper, symlinkJoin, gsignond, plugins }:
4 name = "gsignond-with-plugins-${gsignond.version}";
6 paths = [ gsignond ] ++ plugins;
8 nativeBuildInputs = [ makeWrapper ];
11 wrapProgram $out/bin/gsignond \
12 --set SSO_GPLUGINS_DIR "$out/lib/gsignond/gplugins"
14 rm $out/share/dbus-1/services/com.google.code.AccountsSSO.gSingleSignOn.service
15 rm $out/share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service
17 substitute ${gsignond}/share/dbus-1/services/com.google.code.AccountsSSO.gSingleSignOn.service $out/share/dbus-1/services/com.google.code.AccountsSSO.gSingleSignOn.service \
18 --replace ${gsignond} $out
20 substitute ${gsignond}/share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service $out/share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service \
21 --replace ${gsignond} $out
24 inherit (gsignond) meta;