anchor.diff:          [
             (map (drv: drv.__spliced.hostHost or drv) depsHostHost)
             (map (drv: drv.crossDrv or drv) (buildInputs
  -             ++ lib.optionals doCheck' checkInputs
  +             ++ lib.optionals doCheck checkInputs
                ++ lib.optionals doInstallCheck' installCheckInputs))
           ]
           [
  
positive.code:           (map (drv: drv.__spliced.targetTarget or drv) depsTargetTargetPropagated)
          ]
        ];
  
        # TODO(@oxij, @Ericson2314): This is here to keep the old semantics, remove when
        # no package has `doCheck = true`.
        doCheck' = doCheck && stdenv.hostPlatform == stdenv.buildPlatform;
        doInstallCheck' = doInstallCheck && stdenv.hostPlatform == stdenv.buildPlatform;
  
        outputs' =
          outputs ++
  
negative.code:             ++ 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 (stdenv.buildPlatform.isDarwin) {
            # TODO: remove lib.unique once nix has a list canonicalization primitive
            __sandboxProfile =
  