anchor.diff:              esac
           done
   
  +        export tmp=$(mktemp -td "${pname}-tmp-XXXXXX")
  +        HOME=$tmp/home
  +
           exitTrap() {
               test -n "''${ranTrap-}" && return
               ranTrap=1
   
               if test -n "''${keepSources-}"; then
  -                echo -e "Path to the source: $src\nPath to the fake home: $HOME"
  +                echo -e "Path to the source: $tmp/src\nPath to the fake home: $tmp/home"
               else
  -                rm -rf "$src" "$HOME"
  +                rm -rf "$tmp"
               fi
   
               # Since mktemp is used this will be empty if the script didnt succesfully complete
  
positive.code: 
          echo "Writing lockfile..."
          echo -e "# This file was automatically generated by passthru.fetch-deps.\n# Please dont edit it manually, your changes might get overwritten!\n" > "$depsFile"
          nuget-to-nix "$HOME/nuget_pkgs" "${exclusions}" >> "$depsFile"
          echo "Succesfully wrote lockfile to $depsFile"
        '';
    } // args.passthru or { };
  
negative.code:             dotnet restore ''${project-} \
                  -p:ContinuousIntegrationBuild=true \
                  -p:Deterministic=true \
                  --packages "$tmp/nuget_pkgs" \
                  --runtime "$rid" \
                  ${lib.optionalString (!enableParallelBuilding) "--disable-parallel"} \
                  ${lib.optionalString (flags != []) (toString flags)}
  