d5ba27a700
`substituteAll` intentionally doesn't work with all caps: https://github.com/NixOS/nixpkgs/issues/28086
19 lines
626 B
Diff
19 lines
626 B
Diff
--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
|
|
+++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
|
|
@@ -504,14 +504,10 @@
|
|
g_return_val_if_fail (script->s_infile != NULL, FALSE);
|
|
|
|
add_args (array,
|
|
- "bwrap",
|
|
- "--ro-bind", "/usr", "/usr",
|
|
- "--ro-bind", "/lib", "/lib",
|
|
- "--ro-bind", "/lib64", "/lib64",
|
|
+ "@bubblewrap_bin@",
|
|
+ "--ro-bind", "/nix/store", "/nix/store",
|
|
"--proc", "/proc",
|
|
"--dev", "/dev",
|
|
- "--symlink", "usr/bin", "/bin",
|
|
- "--symlink", "usr/sbin", "/sbin",
|
|
"--chdir", "/",
|
|
"--setenv", "GIO_USE_VFS", "local",
|
|
"--unshare-all",
|