mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
cage: fix segfault when called with -m last
This commit is contained in:
parent
aeb0d80c45
commit
1d7b089865
@ -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 New Issue
Block a user