mkNugetDeps: provide default for nugetDeps

+1 -2
-1
pkgs/build-support/dotnet/build-dotnet-module/default.nix
··· 114 114 then nugetDeps 115 115 else mkNugetDeps { 116 116 inherit name; 117 - nugetDeps = import nugetDeps; 118 117 sourceFile = nugetDeps; 119 118 } 120 119 else throw "Defining the `nugetDeps` attribute is required, as to lock the NuGet dependencies. This file can be generated by running the `passthru.fetch-deps` script.";
+1 -1
pkgs/build-support/dotnet/make-nuget-deps/default.nix
··· 1 1 { linkFarmFromDrvs, fetchurl }: 2 - { name, nugetDeps, sourceFile ? null }: 2 + { name, nugetDeps ? import sourceFile, sourceFile ? null }: 3 3 linkFarmFromDrvs "${name}-nuget-deps" (nugetDeps { 4 4 fetchNuGet = { pname, version, sha256 5 5 , url ? "https://www.nuget.org/api/v2/package/${pname}/${version}" }: