Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / gnome-desktop / bubblewrap-paths.patch
blobc31e093f4b7e1b9a3d83525561797301466b1d7f
1 diff --git a/libgnome-desktop/gnome-desktop-thumbnail-script.c b/libgnome-desktop/gnome-desktop-thumbnail-script.c
2 index ddcc1511..546c2a36 100644
3 --- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
4 +++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
5 @@ -555,9 +555,9 @@ add_bwrap (GPtrArray *array,
6 g_return_val_if_fail (script->s_infile != NULL, FALSE);
8 add_args (array,
9 - "bwrap",
10 - "--ro-bind", "/usr", "/usr",
11 - "--ro-bind-try", "/etc/ld.so.cache", "/etc/ld.so.cache",
12 + "@bubblewrap_bin@",
13 + "--ro-bind", "@storeDir@", "@storeDir@",
14 + "--ro-bind-try", "/run/current-system", "/run/current-system",
15 NULL);
17 /* These directories might be symlinks into /usr/... */