forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NixOS#57889 from mat8913/flatpak-bubblewrap-paths
flatpak: Fix bubblewrap paths for icon-validator
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/icon-validator/validate-icon.c b/icon-validator/validate-icon.c | ||
index 6e23d9f2..8c621ec4 100644 | ||
--- a/icon-validator/validate-icon.c | ||
+++ b/icon-validator/validate-icon.c | ||
@@ -149,8 +149,8 @@ rerun_in_sandbox (const char *arg_width, | ||
"--unshare-ipc", | ||
"--unshare-net", | ||
"--unshare-pid", | ||
- "--ro-bind", "/usr", "/usr", | ||
- "--ro-bind", "/etc/ld.so.cache", "/etc/ld.so.cache", | ||
+ "--ro-bind", "@storeDir@", "@storeDir@", | ||
+ "--ro-bind", "/run/current-system", "/run/current-system", | ||
"--ro-bind", validate_icon, validate_icon, | ||
NULL); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters