about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@uclouvain.be>2019-02-22 12:09:33 +0100
committerGuillaume Maudoux <guillaume.maudoux@uclouvain.be>2019-02-25 09:47:23 +0100
commit02d3e9775004974d2cb954ff98b2df64560dab15 (patch)
treebda15d5dfa6ce224fcf9056bfe162146279ea85d
parentb25ae9b2541e1085c25019a4b931c358f84a9287 (diff)
downloadnixlib-02d3e9775004974d2cb954ff98b2df64560dab15.tar
nixlib-02d3e9775004974d2cb954ff98b2df64560dab15.tar.gz
nixlib-02d3e9775004974d2cb954ff98b2df64560dab15.tar.bz2
nixlib-02d3e9775004974d2cb954ff98b2df64560dab15.tar.lz
nixlib-02d3e9775004974d2cb954ff98b2df64560dab15.tar.xz
nixlib-02d3e9775004974d2cb954ff98b2df64560dab15.tar.zst
nixlib-02d3e9775004974d2cb954ff98b2df64560dab15.zip
nautilus: fix thumbnail generation on NixOS
-rw-r--r--pkgs/desktops/gnome-3/core/nautilus/bubblewrap-paths.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/desktops/gnome-3/core/nautilus/bubblewrap-paths.patch b/pkgs/desktops/gnome-3/core/nautilus/bubblewrap-paths.patch
index 051b7618612c..e3ad75b869c8 100644
--- a/pkgs/desktops/gnome-3/core/nautilus/bubblewrap-paths.patch
+++ b/pkgs/desktops/gnome-3/core/nautilus/bubblewrap-paths.patch
@@ -1,6 +1,6 @@
 ---   a/src/gnome-desktop/gnome-desktop-thumbnail-script.c
 +++   a/src/gnome-desktop/gnome-desktop-thumbnail-script.c
-@@ -514,14 +514,10 @@ add_bwrap (GPtrArray   *array,
+@@ -514,14 +514,11 @@ add_bwrap (GPtrArray   *array,
    g_return_val_if_fail (script->s_infile != NULL, FALSE);
  
    add_args (array,
@@ -8,8 +8,9 @@
 -	    "--ro-bind", "/usr", "/usr",
 -	    "--ro-bind", "/lib", "/lib",
 -	    "--ro-bind", "/lib64", "/lib64",
-+      "@bubblewrap_bin@",
-+      "--ro-bind", "@storeDir@", "@storeDir@",
++	    "@bubblewrap_bin@",
++	    "--ro-bind", "@storeDir@", "@storeDir@",
++	    "--ro-bind", "/run/current-system", "/run/current-system",
  	    "--proc", "/proc",
  	    "--dev", "/dev",
 -	    "--symlink", "usr/bin", "/bin",