gnome-control-center: don't add sounds to userEnv

It's not needed after all.

See discussion at https://github.com/NixOS/nixpkgs/pull/9308.
This commit is contained in:
Tobias Geerinckx-Rice 2015-08-18 23:02:35 +02:00
parent 7e80417fa8
commit 848c1a72b2

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
};
propagatedUserEnvPkgs =
[ gnome3.gnome_themes_standard gnome3.libgnomekbd sound-theme-freedesktop ];
[ gnome3.gnome_themes_standard gnome3.libgnomekbd ];
# https://bugzilla.gnome.org/show_bug.cgi?id=752596
enableParallelBuilding = false;
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
preFixup = with gnome3; ''
wrapProgram $out/bin/gnome-control-center \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$out/share:$out/share/gnome-control-center:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:${sound-theme-freedesktop}/share:$out/share:$out/share/gnome-control-center:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
for i in $out/share/applications/*; do
substituteInPlace $i --replace "gnome-control-center" "$out/bin/gnome-control-center"
done