gnome3.gnome-clocks: add fallback sound theme

This commit is contained in:
Jan Tojnar 2018-05-09 03:12:24 +02:00
parent 92af917827
commit 2be9f02201
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl
, meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop-file-utils
, vala, gobjectIntrospection, libxml2, gtk3, glib, gsound
, vala, gobjectIntrospection, libxml2, gtk3, glib, gsound, sound-theme-freedesktop
, gnome3, gdk_pixbuf, geoclue2, libgweather }:
stdenv.mkDerivation rec {
@ -30,6 +30,13 @@ stdenv.mkDerivation rec {
gnome3.gnome-desktop gnome3.geocode-glib geoclue2 libgweather gsound
];
preFixup = ''
gappsWrapperArgs+=(
# Fallback sound theme
--prefix XDG_DATA_DIRS : "${sound-theme-freedesktop}/share"
)
'';
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Clocks;
description = "Clock application designed for GNOME 3";