about summary refs log tree commit diff
path: root/pkgs/applications/graphics/fondo
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-07-04 04:48:25 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-07-04 04:48:25 -0400
commit4cf3d2163e813a295de47c10b34a274906835be2 (patch)
treea0b773a5c9e75699ee50209764c59261d6b34d05 /pkgs/applications/graphics/fondo
parent506e0566db615baa14b53101dcf8c7b48d13429f (diff)
fondo: fix hardcoded gsettings path
Diffstat (limited to 'pkgs/applications/graphics/fondo')
-rw-r--r--pkgs/applications/graphics/fondo/default.nix27
1 files changed, 26 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/fondo/default.nix b/pkgs/applications/graphics/fondo/default.nix
index 916d9e861cf1f..920b529d61c3d 100644
--- a/pkgs/applications/graphics/fondo/default.nix
+++ b/pkgs/applications/graphics/fondo/default.nix
@@ -1,4 +1,21 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3, glib, gsettings-desktop-schemas, gtk3, libgee, json-glib, glib-networking, libsoup, libunity, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, fetchpatch
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, python3
+, glib
+, gsettings-desktop-schemas
+, gtk3
+, libgee
+, json-glib
+, glib-networking
+, libsoup
+, libunity
+, wrapGAppsHook
+}:
 
 stdenv.mkDerivation rec {
   pname = "fondo";
@@ -32,6 +49,14 @@ stdenv.mkDerivation rec {
     pantheon.granite
   ];
 
+  patches = [
+    # Fix hardcoded FHS gsettings path
+    (fetchpatch {
+      url = "https://github.com/calo001/fondo/commit/98afdd834201321a3242f0b53bfba4b2ffa04a4c.patch";
+      sha256 = "0vvgbgjja6vyrk6in3sgv8jbl4bwxkm6fhllgjzq7r65gkj4jg79";
+    })
+  ];
+
   postPatch = ''
     chmod +x meson/post_install.py
     patchShebangs meson/post_install.py