From d4799959c36472d57ea1883273c8272500e16bdc Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sat, 29 Aug 2020 18:57:25 +0200 Subject: [PATCH] sonata: fix gsettings schemas --- pkgs/applications/audio/sonata/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/sonata/default.nix b/pkgs/applications/audio/sonata/default.nix index 68eefadf411..73e47038a26 100644 --- a/pkgs/applications/audio/sonata/default.nix +++ b/pkgs/applications/audio/sonata/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pkgconfig, gettext, intltool, wrapGAppsHook +{ stdenv, fetchFromGitHub, wrapGAppsHook, gettext , python3Packages, gnome3, gtk3, gsettings-desktop-schemas, gobject-introspection }: let @@ -16,13 +16,16 @@ in buildPythonApplication rec { disabled = !isPy3k; - nativeBuildInputs = [ pkgconfig gettext ]; + nativeBuildInputs = [ wrapGAppsHook gettext ]; buildInputs = [ - intltool wrapGAppsHook gnome3.adwaita-icon-theme gsettings-desktop-schemas ]; + # Otherwise the setup hook for gsettings-desktop-schemas is not run: + # https://github.com/NixOS/nixpkgs/issues/56943 + strictDeps = false; + postPatch = '' # Remove "Local MPD" tab which is not suitable for NixOS. sed -i '/localmpd/d' sonata/consts.py