Skip to content

Commit

Permalink
gnome-desktop: cherry-pick nautilus sandbox changes
Browse files Browse the repository at this point in the history
  • Loading branch information
layus committed Feb 25, 2019
1 parent 02d3e97 commit a3e440c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions pkgs/desktops/gnome-3/core/gnome-desktop/bubblewrap-paths.patch
@@ -1,16 +1,15 @@
--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
@@ -536,10 +536,9 @@ add_bwrap (GPtrArray *array,
@@ -536,9 +536,9 @@ add_bwrap (GPtrArray *array,
g_return_val_if_fail (script->s_infile != NULL, FALSE);

add_args (array,
- "bwrap",
- "--ro-bind", "/usr", "/usr",
- "--ro-bind", "/etc/ld.so.cache", "/etc/ld.so.cache",
- NULL);
+ "@bubblewrap_bin@",
+ "--ro-bind", "/nix/store", "/nix/store",
+ NULL);
+ "@bubblewrap_bin@",
+ "--ro-bind", "/nix/store", "/nix/store",
+ "--ro-bind", "/run/current-system", "/run/current-system",
NULL);

/* These directories might be symlinks into /usr/... */
for (i = 0; i < G_N_ELEMENTS (usrmerged_dirs); i++)

0 comments on commit a3e440c

Please sign in to comment.