anchor.diff:    nativeBuildInputs = [ cmake wrapQtAppsHook qttools ];
   
     buildInputs = [
  +    asciidoctor
       curl
       glibcLocales
       libXi
  
positive.code: 
    patches = [
      ./darwin.patch
      # use wl-copy on Wayland - can be dropped with the next version update
      (fetchpatch {
        url = "https://github.com/keepassxreboot/keepassxc/commit/6128e5d58294f26411160f44da91087ebe7f4b07.patch";
        sha256 = "16q0h7kijqjdbskmk4ar6p3g8vcxr0bq1zrlq2bk16pk10nv4bh1";
      })
    ];
  
    cmakeFlags = [
  
negative.code: , qttools
  , darwin
  
  , asciidoctor
  , curl
  , glibcLocales
  , libXi
  