Merge pull request #90288 from delroth/mono-closure-size

mono: don't propagate a dependency to glib-dev (15% closure size saving)
This commit is contained in:
obadz 2020-06-17 15:03:45 +01:00 committed by GitHub
commit 0280b5e21d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View File

@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
]
++ (stdenv.lib.optionals stdenv.isDarwin [ Foundation libobjc ]);
propagatedBuildInputs = [glib];
configureFlags = [
"--x-includes=${libX11.dev}/include"
"--x-libraries=${libX11.out}/lib"

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, which, pkgconfig, mono, gtk-sharp-2_0 }:
{ stdenv, fetchFromGitHub, autoconf, automake, which, pkgconfig, mono, glib, gtk-sharp-2_0 }:
stdenv.mkDerivation rec {
pname = "gio-sharp";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig autoconf automake which ];
buildInputs = [ mono gtk-sharp-2_0 ];
buildInputs = [ mono glib gtk-sharp-2_0 ];
dontStrip = true;

View File

@ -9,6 +9,7 @@
, pkgconfig
, dotnetbuildhelpers
, clang
, glib
, mono
}:
@ -63,6 +64,7 @@ buildPythonPackage rec {
];
buildInputs = [
glib
mono
psutil # needed for memory leak tests
];

View File

@ -4,6 +4,7 @@
, fetchurl
, fetchFromGitHub
, fetchNuGet
, glib
, pkgconfig
, mono
, fsharp
@ -544,6 +545,7 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
buildInputs = [
fsharp
glib
dotnetPackages.FSharpCompilerService
dotnetPackages.NewtonsoftJson
dotnetPackages.NDeskOptions