mkNugetSource: Allow passing arbitrary stdenv.mkDerivation attrs

This allows things such as

mkNugetSource {
name = "foo-nuget-source";
deps = [ ... ];
meta = {
hydraPlatforms = [ ];
};
}

+4 -3
+4 -3
pkgs/build-support/dotnet/make-nuget-source/default.nix
··· 3 3 { name 4 4 , description ? "" 5 5 , deps ? [] 6 - }: 6 + , ... 7 + }@args: 7 8 8 - stdenvNoCC.mkDerivation { 9 + stdenvNoCC.mkDerivation (lib.recursiveUpdate { 9 10 inherit name; 10 11 11 12 nativeBuildInputs = [ python3 ]; ··· 24 25 ''; 25 26 26 27 meta.description = description; 27 - } 28 + } (removeAttrs args [ "name" "description" "deps" ]))