buildDotnetModule: fix running fetch-deps with no nugetDeps defined. This eases the initial setup when creating a package

mdarocha 8318df5b 7b22218f

+1 -1
+1 -1
pkgs/build-support/dotnet/build-dotnet-module/default.nix
··· 172 172 173 173 passthru = { 174 174 inherit nuget-source; 175 - } // lib.optionalAttrs (nugetDepsFile != null) { 175 + } // lib.optionalAttrs (!lib.isDerivation nugetDeps) { 176 176 fetch-deps = 177 177 let 178 178 flags = dotnetFlags ++ dotnetRestoreFlags;