fixup! treewide: use glib.{getSchemaPath, makeSchemaPath}

This commit is contained in:
worldofpeace 2019-08-27 14:25:43 -04:00
parent 7bb8f05f12
commit 8250fcb326
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
(substituteAll {
src = ./fix-paths.patch;
gapplication = "${glib.bin}/bin/gapplication";
mutter_gsettings_path = "${glib.getSchemaPath gnome3.mutter}";
mutter_gsettings_path = glib.getSchemaPath gnome3.mutter;
})
];

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
substituteInPlace src/gnome-shell/prefs.js \
--subst-var-by typelibPath "${placeholder "out"}/lib/girepository-1.0"
substituteInPlace src/libgpaste/settings/gpaste-settings.c \
--subst-var-by gschemasCompiled ${glib.makeSchemaPath "$out" "${pname}-${version}"}
--subst-var-by gschemasCompiled ${glib.makeSchemaPath (placeholder "out") "${pname}-${version}"}
'';
nativeBuildInputs = [