buildDotnetModule: remove nugetDeps from derivation args

This allows fetch-deps to work even when the deps file is missing.

Changed files
+4 -2
pkgs
build-support
dotnet
build-dotnet-module
+4 -2
pkgs/build-support/dotnet/build-dotnet-module/default.nix
···
, runtimeShellPackage
}:
-
{ name ? "${args.pname}-${args.version}"
+
{ name ? "${_args.pname}-${_args.version}"
, pname ? name
, enableParallelBuilding ? true
, doCheck ? false
···
# The dotnet runtime to use.
, dotnet-runtime ? dotnetCorePackages.runtime_6_0
, ...
-
} @ args:
+
} @ _args:
let
+
args = removeAttrs _args [ "nugetDeps" ];
+
projectFiles =
lib.optionals (projectFile != null) (lib.toList projectFile);
testProjectFiles =