Unverified Commit c8c430ec authored by amesgen's avatar amesgen
Browse files

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.
parent 852523aa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
{ 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 = [