mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
bd9782dc89
The project renamed in 3.8. This commit is done by hand.
16 lines
634 B
Diff
16 lines
634 B
Diff
diff --git a/src/libtracker-miners-common/tracker-landlock.c b/src/libtracker-miners-common/tracker-landlock.c
|
|
index 6d4510be1..1de5d5a90 100644
|
|
--- a/src/libtracker-miners-common/tracker-landlock.c
|
|
+++ b/src/libtracker-miners-common/tracker-landlock.c
|
|
@@ -184,6 +184,10 @@ gboolean
|
|
tracker_landlock_init (const gchar * const *indexed_folders)
|
|
{
|
|
TrackerLandlockRule stock_rules[] = {
|
|
+ { "/nix/store",
|
|
+ (LANDLOCK_ACCESS_FS_EXECUTE |
|
|
+ LANDLOCK_ACCESS_FS_READ_FILE |
|
|
+ LANDLOCK_ACCESS_FS_READ_DIR) },
|
|
/* Allow access to the executable itself */
|
|
{ LIBEXECDIR "/tracker-extract-3",
|
|
LANDLOCK_ACCESS_FS_READ_FILE |
|