anchor.diff:              chmod u+w $out/lib/*.so.*
               patchelf --set-rpath $out/lib:${stdenv.cc.cc.lib}/lib $out/lib/libboost_thread.so.*
             ''}
  -        '' +
  -        # Unpack the Rust crates.
  -        lib.optionalString is24 ''
  -          tar xvf ${crates} -C nix-rust/
  -          mv nix-rust/nix-vendored-crates* nix-rust/vendor
           '' +
           # For Nix-2.3, patch around an issue where the Nix configure step pulls in the
           # build system's bash and other utilities when cross-compiling
  
positive.code:   , bash, coreutils, gzip, gnutar
    , pkgconfig, boehmgc, perlPackages, libsodium, brotli, boost, editline, nlohmann_json
    , autoreconfHook, autoconf-archive, bison, flex, libxml2, libxslt, docbook5, docbook_xsl_ns
    , jq, libarchive, rustc, cargo
    # Used by tests
    , gmock
    , busybox-sandbox-shell
  
negative.code: 
    nixFlakes = lib.lowPrio (callPackage common rec {
      name = "nix-2.4${suffix}";
      suffix = "pre20200622_334e26b";
  
      src = fetchFromGitHub {
        owner = "NixOS";
        repo = "nix";
        rev = "334e26bfc2ce82912602e8a0f9f9c7e0fb5c3221";
        sha256 = "14a2yyn1ygymlci6hl5d308fs3p3m0mgcfs5dc8dn0s3lg5qvbmp";
      };
  
      inherit storeDir stateDir confDir boehmgc;
  