summary refs log tree commit diff
path: root/pkgs/applications/misc/ulauncher/fix-permissions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/ulauncher/fix-permissions.patch')
-rw-r--r--pkgs/applications/misc/ulauncher/fix-permissions.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/misc/ulauncher/fix-permissions.patch b/pkgs/applications/misc/ulauncher/fix-permissions.patch
new file mode 100644
index 00000000000..9d743c950f9
--- /dev/null
+++ b/pkgs/applications/misc/ulauncher/fix-permissions.patch
@@ -0,0 +1,12 @@
+diff --git a/ulauncher/utils/Theme.py b/ulauncher/utils/Theme.py
+index 9cde624..4e36c4f 100644
+--- a/ulauncher/utils/Theme.py
++++ b/ulauncher/utils/Theme.py
+@@ -138,6 +138,9 @@ class Theme:
+         rmtree(new_theme_dir)
+         copytree(self.path, new_theme_dir)
+ 
++        # change file permissions (because Nix store is read-only)
++        os.chmod(new_theme_dir, 0o755)
++
+         return os.path.join(new_theme_dir, 'generated.css')