diff --git a/pkgs/applications/version-management/git-credential-keepassxc/default.nix b/pkgs/applications/version-management/git-credential-keepassxc/default.nix index e9b4d75bf64a..1595c470e2ab 100644 --- a/pkgs/applications/version-management/git-credential-keepassxc/default.nix +++ b/pkgs/applications/version-management/git-credential-keepassxc/default.nix @@ -4,6 +4,10 @@ , fetchFromGitHub , DiskArbitration , Foundation +, withNotification ? false +, withYubikey ? false +, withStrictCaller ? false +, withAll ? false }: rustPlatform.buildRustPackage rec { @@ -21,6 +25,12 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isDarwin [ DiskArbitration Foundation ]; + buildFeatures = [] + ++ lib.optional withNotification "notification" + ++ lib.optional withYubikey "yubikey" + ++ lib.optional withStrictCaller "strict-caller" + ++ lib.optional withAll "all"; + meta = with lib; { description = "Helper that allows Git (and shell scripts) to use KeePassXC as credential store"; longDescription = ''