From 4cf3d2163e813a295de47c10b34a274906835be2 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Thu, 4 Jul 2019 04:48:25 -0400 Subject: fondo: fix hardcoded gsettings path --- pkgs/applications/graphics/fondo/default.nix | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/graphics/fondo') 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 -- cgit 1.4.1