buildDotnetPackage: fix nativeBuildInputs

the nativeBuildInputs of the derivation that uses buildDotnetPackage overshadowed the nativeBuildInputs of buildDotnetPackage
so pkg-config wasn't getting added to the path

dotnet-packages: remove unused arg

Artturin f77006c3 a8506b65

+5 -3
+5 -2
pkgs/build-support/build-dotnet-package/default.nix
··· 3 3 attrsOrig @ 4 4 { baseName 5 5 , version 6 + , nativeBuildInputs ? [] 6 7 , buildInputs ? [] 7 8 , xBuildFiles ? [ ] 8 9 , xBuildFlags ? [ "/p:Configuration=Release" ] ··· 19 20 attrs = { 20 21 name = "${baseName}-${version}"; 21 22 22 - nativeBuildInputs = [ pkg-config ]; 23 + nativeBuildInputs = [ 24 + pkg-config 25 + ] ++ nativeBuildInputs; 23 26 buildInputs = [ 24 27 mono 25 28 dotnetbuildhelpers ··· 113 116 ''; 114 117 }; 115 118 in 116 - stdenv.mkDerivation (attrs // (builtins.removeAttrs attrsOrig [ "buildInputs" ] )) 119 + stdenv.mkDerivation (attrs // (builtins.removeAttrs attrsOrig [ "nativeBuildInputs" "buildInputs" ] ))
-1
pkgs/top-level/dotnet-packages.nix
··· 6 6 , fetchFromGitHub 7 7 , fetchNuGet 8 8 , glib 9 - , pkg-config 10 9 , mono 11 10 , overrides ? {} 12 11 }: