|
648 | 648 | libXcursor = previous.xorg.libXcursor.overrideAttrs (old: { dontDisableStatic = true; });
|
649 | 649 | libXdmcp = previous.xorg.libXdmcp.overrideAttrs (old: { dontDisableStatic = true; });
|
650 | 650 | libXext = previous.xorg.libXext.overrideAttrs (old: { dontDisableStatic = true; });
|
| 651 | + libXtst = previous.xorg.libXtst.overrideAttrs (old: { dontDisableStatic = true; }); |
651 | 652 | libXfixes = previous.xorg.libXfixes.overrideAttrs (old: { dontDisableStatic = true; });
|
652 | 653 | libXi = previous.xorg.libXi.overrideAttrs (old: { dontDisableStatic = true; });
|
653 | 654 | libXinerama = previous.xorg.libXinerama.overrideAttrs (old: { dontDisableStatic = true; });
|
|
806 | 807 |
|
807 | 808 | meson-tutorial-gtk = final.callPackage ({
|
808 | 809 | meson, ninja, pkgconfig, gtk3,
|
809 |
| - pcre, |
| 810 | + pcre_static, |
| 811 | + zlib_both, |
810 | 812 | harfbuzz,
|
811 | 813 | libpthreadstubs,
|
812 | 814 | libXdmcp,
|
|
825 | 827 | nativeBuildInputs = [ meson pkgconfig ninja ];
|
826 | 828 | buildInputs = [
|
827 | 829 | gtk3
|
828 |
| - pcre |
| 830 | + pcre_static |
| 831 | + zlib_both |
829 | 832 | harfbuzz
|
830 | 833 | libpthreadstubs
|
831 | 834 | libXdmcp
|
@@ -1280,14 +1283,33 @@ let
|
1280 | 1283 | # Most likely it is because the `libX*` packages are available once on the top-level
|
1281 | 1284 | # namespace (where we override them), and once under `xorg.libX*`, where we don't
|
1282 | 1285 | # override them; it seems that `X11` depends on the latter.
|
| 1286 | + # Note that the addition of `xorg.*` packages to the global |
| 1287 | + # package set available to derivation (`callPackage`) arguments |
| 1288 | + # is set up here: |
| 1289 | + # https://github.com/NixOS/nixpkgs/blob/9a2c7caa43f1cb83b3efd156de35aea85196f32f/pkgs/top-level/splice.nix#L125-L132 |
| 1290 | + # According to `clever`, the right place to override them should |
| 1291 | + # be inside `xorg` and then the top-level ones should be |
| 1292 | + # overridden automatically. |
1283 | 1293 | X11 = super.X11.override {
|
1284 | 1294 | libX11 = final.libX11;
|
1285 | 1295 | libXext = final.libXext;
|
1286 | 1296 | libXinerama = final.libXinerama;
|
1287 | 1297 | libXrandr = final.libXrandr;
|
1288 | 1298 | libXrender = final.libXrender;
|
1289 | 1299 | libXScrnSaver = final.libXScrnSaver;
|
| 1300 | + |
1290 | 1301 | };
|
| 1302 | + xorg = super.xorg.override (old: { |
| 1303 | + libX11 = final.libX11; |
| 1304 | + libXext = final.libXext; |
| 1305 | + libXinerama = final.libXinerama; |
| 1306 | + libXrandr = final.libXrandr; |
| 1307 | + libXrender = final.libXrender; |
| 1308 | + libXScrnSaver = final.libXScrnSaver; |
| 1309 | + |
| 1310 | + libXtst = final.libXtst; |
| 1311 | + }); |
| 1312 | + |
1291 | 1313 |
|
1292 | 1314 | # Note that xmonad links, but it doesn't run, because it tries to open
|
1293 | 1315 | # `libgmp.so.3` at run time.
|
|
0 commit comments