buildDotnetModule: remove nugetDeps from derivation args

This allows fetch-deps to work even when the deps file is missing.
This commit is contained in:
David McFarland 2024-06-25 16:48:57 -03:00
parent ca107cf1f2
commit 0c1f3e6c93

View File

@ -17,7 +17,7 @@
, runtimeShellPackage
}:
{ name ? "${args.pname}-${args.version}"
{ name ? "${_args.pname}-${_args.version}"
, pname ? name
, enableParallelBuilding ? true
, doCheck ? false
@ -87,9 +87,11 @@
# 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 =