cage: fix segfault when called with -m last

This commit is contained in:
Peter Hoeg 2023-05-30 21:19:47 +08:00
parent aeb0d80c45
commit 1d7b089865

View File

@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
systemd libGL libX11
];
# https://github.com/cage-kiosk/cage/issues/231
# cage will segfault on start with `-m last` without this
CFLAGS = "-O0";
mesonFlags = [ "-Dxwayland=${lib.boolToString (xwayland != null)}" ];
postFixup = lib.optionalString (xwayland != null) ''