mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
cage: fix segfault when called with -m last
(cherry picked from commit dfef1ce37e)
This commit is contained in:
committed by
github-actions[bot]
parent
9af373a616
commit
39b9172bb9
@@ -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) ''
|
||||
|
||||
Reference in New Issue
Block a user