git.iko.soy/typeable/nixpkgs
on master help sign in
gcc8: Removed X11 components, since they were only used by langJava
commit51ac1d8df08d606ae5d8af95073bb74e330249f3 authorPatrick Hilhorst <philhorst@science.ru.nl> dateThu 3 May 2018, 16:30 (9 years ago) parentd21ff87
1 file changed−14
pkgs/development/compilers/gcc/8/default.nix−14
pkgs/development/compilers/gcc/8/default.nix−14
@@ -12,12 +12,6 @@
1212, libelf # optional, for link-time optimizations (LTO)
1313, isl ? null # optional, for the Graphite optimization framework.
1414, zlib ? null
15−, pkgconfig ? null
16−, gtk2 ? null, libart_lgpl ? null
17−, libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null
18−, libXrender ? null, xproto ? null, renderproto ? null, xextproto ? null
19−, libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
20−, x11Support ? false
2115, enableMultilib ? false
2216, enablePlugin ? hostPlatform == buildPlatform # Whether to support user-supplied plug-ins
2317, name ? "gcc"
@@ -60,11 +54,6 @@ let version = "8.1.0";
6054 }) */
6155 ++ optional langFortran ../gfortran-driving.patch;
6256
63− xlibs = [
64− libX11 libXt libSM libICE libXtst libXrender libXrandr libXi
65− xproto renderproto xextproto inputproto randrproto
66− ];
67−
6857 /* Platform flags */
6958 platformFlags = let
7059 gccArch = targetPlatform.platform.gcc.arch or null;
@@ -150,9 +139,6 @@ let version = "8.1.0";
150139
151140in
152141
153−# We need all these X libraries when building AWT with GTK+.
154−assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
155−
156142stdenv.mkDerivation ({
157143 name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
158144