mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
3c083ef2ee
Without the change `dmenu` fails to build on `staging-next` as: $ nix build --no-link -f. dmenu -L ... dmenu> build flags: SHELL=/nix/store/mm0pa3z7kk6jh1i9rkxqxjqmd8h1qpxf-bash-5.2p37/bin/bash CC:=\$\(CC\) dmenu> cp config.def.h config.h dmenu> gcc -c -std=c99 -pedantic -Wall -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"5.3\" -DXINERAMA dmenu.c dmenu> In file included from dmenu.c:17: dmenu> /nix/store/2rxphcg0qabc3a8c4lvy610sm03bh72y-libXft-2.3.8-dev/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory dmenu> 40 | #include <ft2build.h> dmenu> | ^~~~~~~~~~~~ dmenu> compilation terminated. dmenu> make: *** [Makefile:12: dmenu.o] Error 1 The change uses `pkg-config` to discover library dependencies and lib paths. |
||
---|---|---|
.. | ||
default.nix | ||
wayland.nix |