diff --git a/pkgs/applications/window-managers/cage/default.nix b/pkgs/applications/window-managers/cage/default.nix index c1ef0a7fd268..fafad73527dc 100644 --- a/pkgs/applications/window-managers/cage/default.nix +++ b/pkgs/applications/window-managers/cage/default.nix @@ -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) ''