This change makes it easier for users to setup the nextcloud client with GNOME keyring support as discussed in the IRC[1][2]. Additionaly we now use `libsecret` instead of `libgnome-keyring` which integrates better in a GNOME setup (libgnome-keyring defaults to the Gnome2 library)[3]. [1] https://logs.nix.samueldr.com/nixos/2018-11-24#1745871; [2] https://logs.nix.samueldr.com/nixos/2018-11-24#1746033; [3] #38266wip/yesman
parent
21773f1d43
commit
c6913213eb
@ -1,14 +0,0 @@ |
||||
{ lib, nextcloud-client, makeWrapper, symlinkJoin, withGnomeKeyring ? false, libgnome-keyring }: |
||||
|
||||
if (!withGnomeKeyring) then nextcloud-client else symlinkJoin { |
||||
name = "${nextcloud-client.name}-with-gnome-keyring"; |
||||
paths = [ nextcloud-client ]; |
||||
nativeBuildInputs = [ makeWrapper ]; |
||||
|
||||
postBuild = '' |
||||
wrapProgram "$out/bin/nextcloud" \ |
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libgnome-keyring ]} |
||||
''; |
||||
|
||||
inherit (nextcloud-client) meta; |
||||
} |
Loading…
Reference in new issue