anchor.diff:        # no package has `doCheck = true`.
         doCheck' = doCheck && stdenv.hostPlatform == stdenv.buildPlatform;
         doInstallCheck' = doInstallCheck && stdenv.hostPlatform == stdenv.buildPlatform;
  +
  +      outputs' =
  +        outputs ++
  +        (if separateDebugInfo then assert stdenv.hostPlatform.isLinux; [ "debug" ] else []);
   
         fixedOutputDrv = attrs ? outputHash;
         noNonNativeDeps = builtins.length (depsBuildTarget ++ depsBuildTargetPropagated
  
positive.code:             ++ 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 =
  
negative.code:       doCheck = doCheck';
        doInstallCheck = doInstallCheck';
  
        outputs = outputs';
  
        references = nativeBuildInputs ++ buildInputs
                  ++ propagatedNativeBuildInputs ++ propagatedBuildInputs;
  
  