2016-09-18 21:35:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, gobjectIntrospection
|
|
|
|
# just for passthru
|
|
|
|
, gnome3, gtk3, gsettings_desktop_schemas }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
2017-11-23 22:11:40 +01:00
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/share/gsettings-schemas/${name}/glib-2.0/schemas
|
|
|
|
cat - > $out/share/gsettings-schemas/${name}/glib-2.0/schemas/remove-backgrounds.gschema.override <<- EOF
|
|
|
|
[org.gnome.desktop.background]
|
|
|
|
picture-uri='''
|
|
|
|
|
|
|
|
[org.gnome.desktop.screensaver]
|
|
|
|
picture-uri='''
|
|
|
|
EOF
|
2016-09-18 21:35:23 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ glib gobjectIntrospection ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|