diff options
| author | Peter Hoeg <peter@hoeg.com> | 2023-05-30 21:19:47 +0800 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-05-31 09:24:08 +0000 |
| commit | 39b9172bb91fdcf3686f28fdc7abe9cf30ff6f9e (patch) | |
| tree | a891e49324773b4de5e01cfda5d3279643d5431b | |
| parent | schildichat-desktop: use electron 24.x (#232464) (diff) | |
| download | nixpkgs-origin/backport-232917-to-release-22.11.tar.gz | |
cage: fix segfault when called with -m lastorigin/backport-232917-to-release-22.11
(cherry picked from commit dfef1ce37e8b696ac752c9fc2dcc7ae50554c839)
| -rw-r--r-- | pkgs/applications/window-managers/cage/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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) '' |
