anchor.diff:      , sandboxProfile ? ""
       , propagatedSandboxProfile ? ""
       , ... } @ attrs:
  -    let # Rename argumemnts to avoid cycles
  -      buildInputs__ = buildInputs;
  -      nativeBuildInputs__ = nativeBuildInputs;
  -      propagatedBuildInputs__ = propagatedBuildInputs;
  -      propagatedNativeBuildInputs__ = propagatedNativeBuildInputs;
  -    in let
  -      getNativeDrv = drv: drv.nativeDrv or drv;
  -      getCrossDrv = drv: drv.crossDrv or drv;
  -      nativeBuildInputs = map getNativeDrv nativeBuildInputs__;
  -      buildInputs = map getCrossDrv buildInputs__;
  -      propagatedBuildInputs = map getCrossDrv propagatedBuildInputs__;
  -      propagatedNativeBuildInputs = map getNativeDrv propagatedNativeBuildInputs__;
  +    let
  +      dependencies = [
  +        (map (drv: drv.nativeDrv or drv) nativeBuildInputs)
  +        (map (drv: drv.crossDrv or drv) buildInputs)
  +      ];
  +      propagatedDependencies = [
  +        (map (drv: drv.nativeDrv or drv) propagatedNativeBuildInputs)
  +        (map (drv: drv.crossDrv or drv) propagatedBuildInputs)
  +      ];
       in let
         pos' =
           if pos != null then
  
positive.code:   # * https://nixos.org/nix/manual/#ssec-derivation
    #   Explanation about derivations in general
    mkDerivation =
      { buildInputs ? []
      , nativeBuildInputs ? []
      , propagatedBuildInputs ? []
      , propagatedNativeBuildInputs ? []
      , crossConfig ? null
      , meta ? {}
      , passthru ? {}
  
negative.code:         outputs ++
          (if separateDebugInfo then assert targetPlatform.isLinux; [ "debug" ] else []);
  
        dependencies' = let
            justMap = map lib.chooseDevOutputs dependencies;
            nativeBuildInputs = lib.elemAt justMap 0
              ++ lib.optional targetPlatform.isWindows ../../build-support/setup-hooks/win-dll-link.sh;
            buildInputs = lib.elemAt justMap 1
                 # TODO(@Ericson2314): Should instead also be appended to `nativeBuildInputs`.
              ++ lib.optional separateDebugInfo ../../build-support/setup-hooks/separate-debug-info.sh;
          in [ nativeBuildInputs buildInputs ];
  
        propagatedDependencies' = map lib.chooseDevOutputs propagatedDependencies;
      in
  
        # Throw an error if trying to evaluate an non-valid derivation
  