keepassxc: prevent deadlock with just one core

See https://github.com/keepassxreboot/keepassxc/issues/10391

An alternative would be to set

    virtualisation.cores = 2;

in the keepassxc nixos test.
This commit is contained in:
amesgen 2024-11-06 01:55:03 +01:00
parent 852523aa47
commit c8c430ecf9
No known key found for this signature in database
GPG Key ID: 1A89EC203635A13D

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, qttools
@ -61,6 +62,12 @@ stdenv.mkDerivation rec {
patches = [
./darwin.patch
# https://github.com/keepassxreboot/keepassxc/issues/10391
(fetchpatch {
url = "https://github.com/keepassxreboot/keepassxc/commit/6a9ed210792ac60d9ed35cc702500e5ebbb95622.patch";
hash = "sha256-CyaVMfJ0O+5vgvmwI6rYbf0G7ryKFcLv3p4b/D6Pzw8=";
})
];
cmakeFlags = [