anchor.diff:        ++ lib.optionals (!is20) [ curl perl ]
         ++ lib.optionals fromGit [ autoreconfHook autoconf-archive bison flex libxml2 libxslt docbook5 docbook5_xsl ];
   
  -    buildInputs = [ curl openssl sqlite xz ]
  +    buildInputs = [ curl openssl sqlite xz bzip2 ]
         ++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
         ++ lib.optionals fromGit [ brotli ] # Since 1.12
         ++ lib.optional stdenv.isLinux libseccomp
  
positive.code:           });
  
      propagatedBuildInputs = [ boehmgc ];
  
      # Note: bzip2 is not passed as a build input, because the unpack phase
      # would end up using the wrong bzip2 when cross-compiling.
      # XXX: The right thing would be to reinstate `--with-bzip2' in Nix.
      postUnpack =
        '' export CPATH="${bzip2.dev}/include"
           export LIBRARY_PATH="${bzip2.out}/lib"
           export CXXFLAGS="-Wno-error=reserved-user-defined-literal"
        '';
  
      configureFlags =
        [ "--with-store-dir=${storeDir}"
  
negative.code:     separateDebugInfo = stdenv.isLinux;
  
      crossAttrs = {
        configureFlags =
          ''
            --with-store-dir=${storeDir} --localstatedir=${stateDir}
  