anchor.diff:            # but noting for future travellers.
             nativeBuildInputs =
               [ perl pkgconfig curl nix libsodium ]
  -            ++ lib.optionals fromGit [ autoreconfHook autoconf-archive ]
               ++ lib.optional is20 boost;
   
             configureFlags =
  
positive.code: common =
    { lib, stdenv, fetchpatch, perl, curl, bzip2, sqlite, openssl ? null, xz
    , pkgconfig, boehmgc, perlPackages, libsodium, brotli, boost, editline, nlohmann_json
    , autoreconfHook, autoconf-archive, bison, flex, libxml2, libxslt, docbook5, docbook_xsl_ns, jq
    , busybox-sandbox-shell
    , storeDir
    , stateDir
  
negative.code:       version = lib.getVersion name;
  
        is20 = lib.versionAtLeast version "2.0pre";
        is24 = lib.versionAtLeast version "2.4pre";
  
        VERSION_SUFFIX = suffix;
  
        outputs = [ "out" "dev" "man" "doc" ];
  
        nativeBuildInputs =
          [ pkgconfig ]
          ++ lib.optionals (!is20) [ curl perl ]
          ++ lib.optionals is24 [ jq ];
  
        buildInputs = [ curl openssl sqlite xz bzip2 nlohmann_json ]
          ++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
          ++ lib.optionals is20 [ brotli boost editline ]
          ++ lib.optionals is24 [ libarchive rustc cargo ]
          ++ lib.optional withLibseccomp libseccomp
          ++ lib.optional (withAWS && is20)
              ((aws-sdk-cpp.override {
  