diff options
author | Fabian Hauser <fabian@fh2.ch> | 2020-07-02 15:04:37 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2020-07-02 23:11:15 +0200 |
commit | cf0552de9b46e33c54523019ed10becc129e624d (patch) | |
tree | c12922aefe0a1fd3d95f1e04978418a14378261b /pkgs/applications/networking/owncloud-client | |
parent | 66d0b2a0d05dc526e1d6d30d7289282e63af0ceb (diff) |
owncloud-client: add libsecret dependency
The libsecret dependency is required to access secrets from the gnome keychain.
Diffstat (limited to 'pkgs/applications/networking/owncloud-client')
-rw-r--r-- | pkgs/applications/networking/owncloud-client/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/networking/owncloud-client/default.nix b/pkgs/applications/networking/owncloud-client/default.nix index 3fc9fedc4138a..a487da6f5ad76 100644 --- a/pkgs/applications/networking/owncloud-client/default.nix +++ b/pkgs/applications/networking/owncloud-client/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, mkDerivation, cmake, pkgconfig, qtbase, qtkeychain, sqlite }: +{ lib, stdenv, fetchurl, mkDerivation, cmake, pkgconfig, qtbase, qtkeychain, sqlite, libsecret }: mkDerivation rec { pname = "owncloud-client"; @@ -12,6 +12,10 @@ mkDerivation rec { nativeBuildInputs = [ pkgconfig cmake ]; buildInputs = [ qtbase qtkeychain sqlite ]; + qtWrapperArgs = [ + "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}" + ]; + cmakeFlags = [ "-UCMAKE_INSTALL_LIBDIR" "-DNO_SHIBBOLETH=1" |