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:
commit
0280b5e21d
@ -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"
|
||||
|
@ -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;
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
, pkgconfig
|
||||
, dotnetbuildhelpers
|
||||
, clang
|
||||
, glib
|
||||
, mono
|
||||
}:
|
||||
|
||||
@ -63,6 +64,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
mono
|
||||
psutil # needed for memory leak tests
|
||||
];
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user