commit
422e91d0f9
@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
|
|||||||
intltool dbus_glib at_spi2_core libSM ];
|
intltool dbus_glib at_spi2_core libSM ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
NIX_LDFLAGS = with stdenv; lib.optionalString isDarwin "-lintl";
|
NIX_LDFLAGS = with stdenv; lib.optionalString isDarwin "-lintl";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,12 +21,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1l45nd7ln2pnrf99vdki3l7an5wrzkbak11hnnj1w6r3fkm4xmv1";
|
sha256 = "1l45nd7ln2pnrf99vdki3l7an5wrzkbak11hnnj1w6r3fkm4xmv1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gettext gobjectIntrospection perl ];
|
nativeBuildInputs = [ pkgconfig gettext gobjectIntrospection perl ];
|
||||||
|
|
||||||
buildInputs = [ libxkbcommon ];
|
buildInputs = [ libxkbcommon ];
|
||||||
propagatedBuildInputs = with xlibs; with stdenv.lib;
|
propagatedBuildInputs = with xlibs; with stdenv.lib;
|
||||||
[ expat glib cairo pango gdk_pixbuf atk at_spi2_atk ]
|
[ expat glib cairo pango gdk_pixbuf atk at_spi2_atk libXrandr libXrender libXcomposite libXi libXcursor ]
|
||||||
++ optionals stdenv.isLinux [ libXrandr libXrender libXcomposite libXi libXcursor wayland ]
|
++ optionals stdenv.isLinux [ wayland ]
|
||||||
++ optional stdenv.isDarwin x11
|
++ optional stdenv.isDarwin x11
|
||||||
++ optional xineramaSupport libXinerama
|
++ optional xineramaSupport libXinerama
|
||||||
++ optional cupsSupport cups;
|
++ optional cupsSupport cups;
|
||||||
|
@ -14,8 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "01rdzjh68w8l5zn0648yibyarj8p6g7yfn59nw5awaz1i8dvbnqq";
|
sha256 = "01rdzjh68w8l5zn0648yibyarj8p6g7yfn59nw5awaz1i8dvbnqq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with stdenv.lib;
|
buildInputs = with stdenv.lib; [ gobjectIntrospection ]
|
||||||
optional (!stdenv.isDarwin) gobjectIntrospection # build problems of itself and flex
|
|
||||||
++ optionals stdenv.isDarwin [ fontconfig ];
|
++ optionals stdenv.isDarwin [ fontconfig ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user