about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/gnome-3/core/nautilus/bubblewrap-paths.patch
blob: 37358c8432c53bc056f2f015d19038139d453ee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---   a/src/gnome-desktop/gnome-desktop-thumbnail-script.c
+++   a/src/gnome-desktop/gnome-desktop-thumbnail-script.c
@@ -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",
+	    "@bubblewrap_bin@",
+	    "--ro-bind", "@storeDir@", "@storeDir@",
+	    "--ro-bind", "/run/current-system", "/run/current-system",
 	    NULL);
 
   /* These directories might be symlinks into /usr/... */