Merge pull request #96622 from gebner/sonata

sonata: fix gsettings schemas
This commit is contained in:
Gabriel Ebner 2020-08-30 12:04:38 +02:00 committed by GitHub
commit 0610e03496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -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