nix: fix build dependency

This commit is contained in:
DarkGuibrine 2026-06-16 14:54:04 -03:00 committed by DreamMaoMao
parent 251369b5a3
commit 99b696541a
2 changed files with 4 additions and 0 deletions

View file

@ -26,6 +26,7 @@ endif
cc = meson.get_compiler('c') cc = meson.get_compiler('c')
libm = cc.find_library('m') libm = cc.find_library('m')
libdrm = dependency('libdrm')
xcb = dependency('xcb', required : get_option('xwayland')) xcb = dependency('xcb', required : get_option('xwayland'))
xlibs = dependency('xcb-icccm', required : get_option('xwayland')) xlibs = dependency('xcb-icccm', required : get_option('xwayland'))
wlroots_dep = dependency('wlroots-0.20',version: '>=0.20.0') wlroots_dep = dependency('wlroots-0.20',version: '>=0.20.0')
@ -98,6 +99,7 @@ executable('mango',
wayland_sources, wayland_sources,
dependencies : [ dependencies : [
libm, libm,
libdrm,
xcb, xcb,
xlibs, xlibs,
wayland_server_dep, wayland_server_dep,

View file

@ -3,6 +3,7 @@
libX11, libX11,
libinput, libinput,
libxcb, libxcb,
libdrm,
libxkbcommon, libxkbcommon,
pcre2, pcre2,
pango, pango,
@ -58,6 +59,7 @@ stdenv.mkDerivation {
wlroots_0_19 wlroots_0_19
scenefx scenefx
libGL libGL
libdrm
] ]
++ lib.optionals enableXWayland [ ++ lib.optionals enableXWayland [
libX11 libX11