mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Merge pull request #107486 from talyz/webkit-bubblewrap-opengl-driver
webkitgtk: Add `/run/opengl-driver` to bubblewrap bind mounts
This commit is contained in:
commit
63d57b3cfd
@ -10,7 +10,7 @@ diff -ru old/webkitgtk-2.26.0/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLa
|
||||
{ SCMP_SYS(move_pages), nullptr },
|
||||
{ SCMP_SYS(mbind), nullptr },
|
||||
{ SCMP_SYS(get_mempolicy), nullptr },
|
||||
@@ -724,6 +724,10 @@
|
||||
@@ -724,6 +724,11 @@
|
||||
"--ro-bind-try", "/usr/local/lib64", "/usr/local/lib64",
|
||||
|
||||
"--ro-bind-try", PKGLIBEXECDIR, PKGLIBEXECDIR,
|
||||
@ -18,6 +18,7 @@ diff -ru old/webkitgtk-2.26.0/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLa
|
||||
+ // Nix Directories
|
||||
+ "--ro-bind", "@storeDir@", "@storeDir@",
|
||||
+ "--ro-bind", "/run/current-system", "/run/current-system",
|
||||
+ "--ro-bind", "/run/opengl-driver", "/run/opengl-driver",
|
||||
};
|
||||
// We would have to parse ld config files for more info.
|
||||
bindPathVar(sandboxArgs, "LD_LIBRARY_PATH");
|
||||
|
Loading…
Reference in New Issue
Block a user