anchor.diff:      "-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 = [
  
positive.code:     description = "Password manager to store your passwords safely and auto-type them into your everyday websites and applications";
      longDescription = "A community fork of KeePassX, which is itself a port of KeePass Password Safe. The goal is to extend and improve KeePassX with new features and bugfixes to provide a feature-rich, fully cross-platform and modern open-source password manager. Accessible via native cross-platform GUI, CLI, and browser integration with the KeePassXC Browser Extension (https://github.com/keepassxreboot/keepassxc-browser).";
      homepage = "https://keepassxc.org/";
      license = licenses.gpl2;
      maintainers = with maintainers; [ jonafato turion ];
      platforms = platforms.linux ++ platforms.darwin;
    };
  
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 [
  