anchor.diff:      ];
     });
   
  +  # master: https://github.com/NixOS/nix/pull/5536
  +  # 2.4: https://github.com/NixOS/nix/pull/5537
  +  installNlohmannJsonPatch = fetchpatch {
  +    url = "https://github.com/NixOS/nix/pull/5536.diff";
  +    sha256 = "sha256-SPnam4xNIjbMgnq6IP1AaM1V62X0yZNo4DEVmI8sHOo=";
  +  };
  +
   in rec {
   
     nix = nixStable;
  
positive.code:            ];
  
        buildInputs =
          [ curl libsodium openssl sqlite xz bzip2 nlohmann_json
            brotli boost editline
          ]
          ++ lib.optionals stdenv.isDarwin [ Security ]
  
negative.code: 
      boehmgc = boehmgc_nixUnstable;
  
      patches = [ installNlohmannJsonPatch ];
  
      inherit storeDir stateDir confDir;
    });
  
  