summary refs log tree commit diff
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2020-08-29 18:57:25 +0200
committerGabriel Ebner <gebner@gebner.org>2020-08-30 11:29:16 +0200
commitd4799959c36472d57ea1883273c8272500e16bdc (patch)
treeb01cecf88a4573ef32d347454976b195e1a54eb4
parent5f517757760cab0d40790d73ef479b039f326df4 (diff)
downloadnixpkgs-d4799959c36472d57ea1883273c8272500e16bdc.tar
nixpkgs-d4799959c36472d57ea1883273c8272500e16bdc.tar.gz
nixpkgs-d4799959c36472d57ea1883273c8272500e16bdc.tar.bz2
nixpkgs-d4799959c36472d57ea1883273c8272500e16bdc.tar.lz
nixpkgs-d4799959c36472d57ea1883273c8272500e16bdc.tar.xz
nixpkgs-d4799959c36472d57ea1883273c8272500e16bdc.tar.zst
nixpkgs-d4799959c36472d57ea1883273c8272500e16bdc.zip
sonata: fix gsettings schemas
-rw-r--r--pkgs/applications/audio/sonata/default.nix9
1 files 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