thunderbird: add missing libdrm and libXdamage dependencies

This commit is contained in:
Gabriel Ebner 2021-04-09 10:48:21 +02:00
parent 1d078152bd
commit 5ae84e81d7
1 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,7 @@
, alsaSupport ? stdenv.isLinux, alsaLib , alsaSupport ? stdenv.isLinux, alsaLib
, pulseaudioSupport ? stdenv.isLinux, libpulseaudio , pulseaudioSupport ? stdenv.isLinux, libpulseaudio
, gtk3Support ? true, gtk2, gtk3, wrapGAppsHook , gtk3Support ? true, gtk2, gtk3, wrapGAppsHook
, waylandSupport ? true , waylandSupport ? true, libdrm
, libxkbcommon, calendarSupport ? true , libxkbcommon, calendarSupport ? true
# Use official trademarked branding. Permission obtained at: # Use official trademarked branding. Permission obtained at:
@ -137,12 +137,13 @@ stdenv.mkDerivation rec {
xorg.libXt xorg.libXt
xorg.pixman xorg.pixman
xorg.xorgproto xorg.xorgproto
xorg.libXdamage
zip zip
zlib zlib
] ++ lib.optional alsaSupport alsaLib ] ++ lib.optional alsaSupport alsaLib
++ lib.optional gtk3Support gtk3 ++ lib.optional gtk3Support gtk3
++ lib.optional pulseaudioSupport libpulseaudio ++ lib.optional pulseaudioSupport libpulseaudio
++ lib.optional waylandSupport libxkbcommon; ++ lib.optionals waylandSupport [ libxkbcommon libdrm ];
NIX_CFLAGS_COMPILE =[ NIX_CFLAGS_COMPILE =[
"-I${glib.dev}/include/gio-unix-2.0" "-I${glib.dev}/include/gio-unix-2.0"