cage: fix segfault when called with -m last
This commit is contained in:
parent
aeb0d80c45
commit
1d7b089865
1 changed files with 4 additions and 0 deletions
|
@ -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) ''
|
||||
|
|
Loading…
Reference in a new issue