mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
buildDotnetModule: remove nugetDeps from derivation args
This allows fetch-deps to work even when the deps file is missing.
This commit is contained in:
parent
ca107cf1f2
commit
0c1f3e6c93
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user