buildDotnetModule: fix running fetch-deps with no nugetDeps defined.

This eases the initial setup when creating a package
This commit is contained in:
mdarocha 2023-09-30 13:21:12 +02:00
parent 7b22218f11
commit 8318df5b63

View File

@ -172,7 +172,7 @@ stdenvNoCC.mkDerivation (args // {
passthru = {
inherit nuget-source;
} // lib.optionalAttrs (nugetDepsFile != null) {
} // lib.optionalAttrs (!lib.isDerivation nugetDeps) {
fetch-deps =
let
flags = dotnetFlags ++ dotnetRestoreFlags;