anchor.diff:  
     doCheck = true;
     checkPhase = ''
  +    runHook preCheck
  +
       export LC_ALL="en_US.UTF-8"
       export QT_QPA_PLATFORM=offscreen
       export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}"
       # testcli and testgui are flaky - skip them both
       make test ARGS+="-E 'testcli|testgui' --output-on-failure"
  +
  +    runHook postCheck
     '';
   
  -  nativeBuildInputs = [ cmake wrapQtAppsHook qttools ];
  +  nativeBuildInputs = [ cmake wrapQtAppsHook qttools pkg-config ];
   
     buildInputs = [
       asciidoctor
  
positive.code:     "-D__BIG_ENDIAN__=${if stdenv.isBigEndian then "1" else "0"}"
    ];
  
    postPatch = lib.optionalString stdenv.isDarwin ''
      substituteInPlace CMakeLists.txt \
        --replace "/usr/local/bin" "../bin" \
        --replace "/usr/local/share/man" "../share/man"
    '';
    NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib";
  
    patches = [
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "keepassxc";
    version = "2.6.3";
  
    src = fetchFromGitHub {
      owner = "keepassxreboot";
      repo = "keepassxc";
      rev = version;
      sha256 = "1jd2mvafyn095crfs2hnfprqiy8yqsvfybwbjq8n0agapnz4bl5h";
    };
  
    NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang [
  