anchor.diff:              ++ optional (elem "host"   configurePlatforms) "--host=${stdenv.hostPlatform.config}"
               ++ optional (elem "target" configurePlatforms) "--target=${stdenv.targetPlatform.config}";
   
  +          inherit doCheck doInstallCheck;
           } // lib.optionalAttrs (hardeningDisable != [] || hardeningEnable != []) {
             NIX_HARDENING_ENABLE = enabledHardeningOptions;
           } // lib.optionalAttrs (outputs' != [ "out" ]) {
             outputs = outputs';
  -        } // lib.optionalAttrs doCheck' {
  -          doCheck = true;
  -        } // lib.optionalAttrs doInstallCheck' {
  -          doInstallCheck = true;
  -
           } // lib.optionalAttrs (stdenv.buildPlatform.isDarwin) {
             # TODO: remove lib.unique once nix has a list canonicalization primitive
             __sandboxProfile =
  
positive.code:     , ... } @ attrs:
  
      let
        fixedOutputDrv = attrs ? outputHash;
        noNonNativeDeps = builtins.length (depsBuildTarget ++ depsBuildTargetPropagated
                                        ++ depsHostHost ++ depsHostHostPropagated
  
negative.code:       derivationArg =
          (removeAttrs attrs
            ["meta" "passthru" "pos"
             "checkInputs" "installCheckInputs"
             "__impureHostDeps" "__propagatedImpureHostDeps"
             "sandboxProfile" "propagatedSandboxProfile"])
  