anchor.diff:          } // lib.optionalAttrs (hardeningDisable != [] || hardeningEnable != []) {
             NIX_HARDENING_ENABLE = enabledHardeningOptions;
           } // lib.optionalAttrs (stdenv.buildPlatform.isDarwin) {
  +          inherit __darwinAllowLocalNetworking;
             # TODO: remove lib.unique once nix has a list canonicalization primitive
             __sandboxProfile =
             let profiles = [ stdenv.extraSandboxProfile ] ++ computedSandboxProfile ++ computedPropagatedSandboxProfile ++ [ propagatedSandboxProfile sandboxProfile ];
  
positive.code:         (removeAttrs attrs
            ["meta" "passthru" "pos"
             "checkInputs" "installCheckInputs"
             "__impureHostDeps" "__propagatedImpureHostDeps"
             "sandboxProfile" "propagatedSandboxProfile"])
          // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) {
  
negative.code:           else builtins.unsafeGetAttrPos "name" attrs)
      , separateDebugInfo ? false
      , outputs ? [ "out" ]
      , __darwinAllowLocalNetworking ? false
      , __impureHostDeps ? []
      , __propagatedImpureHostDeps ? []
      , sandboxProfile ? ""
  