Merge pull request #171933 from onny/firejail-opengl
firejail: Fix opengl support for various apps
This commit is contained in:
commit
b2c14fec91
@ -47,6 +47,12 @@ stdenv.mkDerivation rec {
|
||||
# Upstream fix https://github.com/netblue30/firejail/pull/5131
|
||||
# Upstream hopefully fixed in later versions > 0.9.68
|
||||
./whitelist-nix-profile.patch
|
||||
|
||||
# Fix OpenGL support for various applications including Firefox
|
||||
# Issue: https://github.com/NixOS/nixpkgs/issues/55191
|
||||
# Upstream fix: https://github.com/netblue30/firejail/pull/5132
|
||||
# Hopefully fixed upstream in version > 0.9.68
|
||||
./fix-opengl-support.patch
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
|
7
pkgs/os-specific/linux/firejail/fix-opengl-support.patch
Normal file
7
pkgs/os-specific/linux/firejail/fix-opengl-support.patch
Normal file
@ -0,0 +1,7 @@
|
||||
--- a/etc/inc/whitelist-run-common.inc.org 2022-05-07 11:27:32.264849186 +0200
|
||||
+++ b/etc/inc/whitelist-run-common.inc 2022-05-07 11:27:55.577778211 +0200
|
||||
@@ -13,3 +13,4 @@
|
||||
whitelist /run/systemd/resolve/resolv.conf
|
||||
whitelist /run/systemd/resolve/stub-resolv.conf
|
||||
whitelist /run/udev/data
|
||||
+whitelist /run/opengl-driver # NixOS
|
Loading…
Reference in New Issue
Block a user