sonata: fix gsettings schemas
This commit is contained in:
parent
5f51775776
commit
d4799959c3
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, gettext, intltool, wrapGAppsHook
|
{ stdenv, fetchFromGitHub, wrapGAppsHook, gettext
|
||||||
, python3Packages, gnome3, gtk3, gsettings-desktop-schemas, gobject-introspection }:
|
, python3Packages, gnome3, gtk3, gsettings-desktop-schemas, gobject-introspection }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -16,13 +16,16 @@ in buildPythonApplication rec {
|
|||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gettext ];
|
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
intltool wrapGAppsHook
|
|
||||||
gnome3.adwaita-icon-theme
|
gnome3.adwaita-icon-theme
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Otherwise the setup hook for gsettings-desktop-schemas is not run:
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/56943
|
||||||
|
strictDeps = false;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Remove "Local MPD" tab which is not suitable for NixOS.
|
# Remove "Local MPD" tab which is not suitable for NixOS.
|
||||||
sed -i '/localmpd/d' sonata/consts.py
|
sed -i '/localmpd/d' sonata/consts.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user