build(nix): add libinput to compositor inputs; set NIX_LDFLAGS for mesa/gbm and libinput

This commit is contained in:
Marco Allegretti 2026-03-12 22:00:27 +01:00
parent 6c3994888d
commit c695b420be

View file

@ -36,9 +36,12 @@ in {
weft-compositor = mkWeftPkg { weft-compositor = mkWeftPkg {
pname = "weft-compositor"; pname = "weft-compositor";
extraBuildInputs = with pkgs; [ extraBuildInputs = with pkgs; [
libdrm mesa wayland libxkbcommon seatd udev dbus libGL libdisplay-info libdrm mesa wayland libxkbcommon seatd udev dbus libGL libdisplay-info libinput
]; ];
extraNativeBuildInputs = with pkgs; [ wayland-scanner ]; extraNativeBuildInputs = with pkgs; [ wayland-scanner ];
extraEnv = {
NIX_LDFLAGS = "-L${pkgs.mesa}/lib -L${pkgs.libinput}/lib";
};
}; };
weft-servo-shell = mkWeftPkg { weft-servo-shell = mkWeftPkg {