cage: fix segfault when called with -m last

(cherry picked from commit dfef1ce37e)
This commit is contained in:
Peter Hoeg
2023-05-30 21:19:47 +08:00
committed by github-actions[bot]
parent 9af373a616
commit 39b9172bb9

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) ''