fix(loop): force X11 ozone platform and disable sandbox
Some checks failed
CI / check (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
- Add --ozone-platform=x11 to wrapper to fix Wayland crash (zxdg_exporter_v1 protocol error causing SIGTRAP on Wayland) - Add --no-sandbox since chrome-sandbox lacks SUID on NixOS
This commit is contained in:
@@ -130,7 +130,9 @@ EOF
|
|||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/loop \
|
wrapProgram $out/bin/loop \
|
||||||
--prefix PATH : ${glib.bin}/bin \
|
--prefix PATH : ${glib.bin}/bin \
|
||||||
--prefix LD_LIBRARY_PATH : $out/share/loop
|
--prefix LD_LIBRARY_PATH : $out/share/loop \
|
||||||
|
--add-flags "--ozone-platform=x11" \
|
||||||
|
--add-flags "--no-sandbox"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|||||||
Reference in New Issue
Block a user