keepassxc: fix build on darwin

This commit is contained in:
Elian Doran 2023-02-18 21:44:54 +02:00 committed by Manuel Bärenz
parent 6f6d61df2b
commit beddcca93f
2 changed files with 7 additions and 3 deletions

View file

@ -3,7 +3,6 @@
, fetchFromGitHub
, cmake
, qttools
, darwin
, asciidoctor
, botan2
@ -25,6 +24,8 @@
, wrapQtAppsHook
, zlib
, LocalAuthentication
, withKeePassBrowser ? true
, withKeePassFDOSecrets ? true
, withKeePassKeeShare ? true
@ -110,7 +111,7 @@ stdenv.mkDerivation rec {
readline
zlib
]
++ lib.optional (stdenv.isDarwin && withKeePassTouchID) darwin.apple_sdk.frameworks.LocalAuthentication
++ lib.optional (stdenv.isDarwin && withKeePassTouchID) LocalAuthentication
++ lib.optional stdenv.isDarwin qtmacextras
++ lib.optional stdenv.isLinux libusb1
++ lib.optional withKeePassX11 qtx11extras;

View file

@ -29285,7 +29285,10 @@ with pkgs;
keepassx = callPackage ../applications/misc/keepassx { };
keepassx2 = callPackage ../applications/misc/keepassx/2.0.nix { };
keepassxc = libsForQt5.callPackage ../applications/misc/keepassx/community.nix { };
keepassxc = libsForQt5.callPackage ../applications/misc/keepassx/community.nix {
inherit (darwin.apple_sdk_11_0.frameworks) LocalAuthentication;
stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
};
keepass-diff = callPackage ../applications/misc/keepass-diff { };