mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 14:18:13 +03:00
xwayland: added withLibunwind
to guard libunwind
dependency
This commit is contained in:
parent
0966f1d593
commit
de359db4b9
@ -19,7 +19,7 @@
|
||||
, libXt
|
||||
, libdrm
|
||||
, libtirpc
|
||||
, libunwind
|
||||
, withLibunwind ? true, libunwind
|
||||
, libxcb
|
||||
, libxkbfile
|
||||
, libxshmfence
|
||||
@ -81,7 +81,6 @@ stdenv.mkDerivation rec {
|
||||
libXt
|
||||
libdrm
|
||||
libtirpc
|
||||
libunwind
|
||||
libxcb
|
||||
libxkbfile
|
||||
libxshmfence
|
||||
@ -95,6 +94,8 @@ stdenv.mkDerivation rec {
|
||||
xorgproto
|
||||
xtrans
|
||||
zlib
|
||||
] ++ lib.optionals withLibunwind [
|
||||
libunwind
|
||||
];
|
||||
mesonFlags = [
|
||||
(lib.mesonBool "xwayland_eglstream" true)
|
||||
@ -103,7 +104,7 @@ stdenv.mkDerivation rec {
|
||||
(lib.mesonOption "xkb_bin_dir" "${xkbcomp}/bin")
|
||||
(lib.mesonOption "xkb_dir" "${xkeyboard_config}/etc/X11/xkb")
|
||||
(lib.mesonOption "xkb_output_dir" "${placeholder "out"}/share/X11/xkb/compiled")
|
||||
(lib.mesonBool "libunwind" (libunwind != null))
|
||||
(lib.mesonBool "libunwind" withLibunwind)
|
||||
];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
|
Loading…
Reference in New Issue
Block a user