keepassxc: fix build on darwin

Pulling in a temporary patch for nixpkgs from an open PR.
This commit is contained in:
Trolli Schmittlauch 2025-06-03 21:59:56 +02:00
parent c118bebe15
commit f309196693
2 changed files with 27 additions and 1 deletions

View file

@ -53,7 +53,7 @@
(import nixpkgs { inherit system; }).applyPatches {
name = "nixpkgs-patched";
src = nixpkgs;
patches = [ ];
patches = [ ./patches/keepassxc-fix-darwin-build.patch ];
};
# necessary to make the top-level inputs available to system configuration

View file

@ -0,0 +1,26 @@
From 49b7ae226cedb0adb403758e0c63d09762297a22 Mon Sep 17 00:00:00 2001
From: Fernando Rodrigues <alpha@sigmasquadron.net>
Date: Wed, 28 May 2025 14:06:23 -0300
Subject: [PATCH] keepassxc: remove unecessary dependency
KIO no longer seems necessary for KeePassXC, so removing it should
decrease the closure size significantly.
Reported-by: chopper2000uk <>
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
---
pkgs/by-name/ke/keepassxc/package.nix | 1 -
1 file changed, 1 deletion(-)
diff --git a/pkgs/by-name/ke/keepassxc/package.nix b/pkgs/by-name/ke/keepassxc/package.nix
index 170cc7bfe8e384..40b6dc15170f5b 100644
--- a/pkgs/by-name/ke/keepassxc/package.nix
+++ b/pkgs/by-name/ke/keepassxc/package.nix
@@ -142,7 +142,6 @@ stdenv.mkDerivation (finalAttrs: {
libXi
libXtst
libargon2
- libsForQt5.kio
libsForQt5.qtbase
libsForQt5.qtsvg
minizip