about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/system/pantheon-tweaks/fix-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/system/pantheon-tweaks/fix-paths.patch')
-rw-r--r--nixpkgs/pkgs/applications/system/pantheon-tweaks/fix-paths.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/system/pantheon-tweaks/fix-paths.patch b/nixpkgs/pkgs/applications/system/pantheon-tweaks/fix-paths.patch
new file mode 100644
index 000000000000..b2e0e0a7b4c8
--- /dev/null
+++ b/nixpkgs/pkgs/applications/system/pantheon-tweaks/fix-paths.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Settings/ThemeSettings.vala b/src/Settings/ThemeSettings.vala
+index 589121b..8e9c81e 100644
+--- a/src/Settings/ThemeSettings.vala
++++ b/src/Settings/ThemeSettings.vala
+@@ -29,7 +29,7 @@ public class PantheonTweaks.ThemeSettings {
+         var themes = new Gee.ArrayList<string> ();
+ 
+         string[] dirs = {
+-            "/usr/share/" + path + "/",
++            "/run/current-system/sw/share/" + path + "/",
+             Environment.get_home_dir () + "/." + path + "/",
+             Environment.get_home_dir () + "/.local/share/" + path + "/"};
+