Merge #31991: gnome3.gsettings_desktop_schemas:
do not depend on gnome-backgrounds
This commit is contained in:
commit
2b04026a8a
@ -5,11 +5,15 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit (import ./src.nix fetchurl) name src;
|
inherit (import ./src.nix fetchurl) name src;
|
||||||
|
|
||||||
postPatch = ''
|
preInstall = ''
|
||||||
for file in "background" "screensaver"; do
|
mkdir -p $out/share/gsettings-schemas/${name}/glib-2.0/schemas
|
||||||
substituteInPlace "schemas/org.gnome.desktop.$file.gschema.xml.in" \
|
cat - > $out/share/gsettings-schemas/${name}/glib-2.0/schemas/remove-backgrounds.gschema.override <<- EOF
|
||||||
--replace "@datadir@" "${gnome3.gnome-backgrounds}/share/"
|
[org.gnome.desktop.background]
|
||||||
done
|
picture-uri='''
|
||||||
|
|
||||||
|
[org.gnome.desktop.screensaver]
|
||||||
|
picture-uri='''
|
||||||
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ glib gobjectIntrospection ];
|
buildInputs = [ glib gobjectIntrospection ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user