From 034f4f47b82abcbcc94c8a55705a4e7030819bca Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Fri, 18 Aug 2023 16:13:17 +0800 Subject: [PATCH] meson: Don't run glib-compile-schemas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't install anything to $datadir/glib-2.0/schemas right now, on NixOS which install packages in separate prefixes, try running glib-compile-schemas will fail with the following: ``` Running custom install script '/nix/store/...-glib-2.77.1-dev/bin/glib-compile-schemas /nix/store/...-loupe-45.beta/share/glib-2.0/schemas' --- stdout --- --- stderr --- Error opening directory “/nix/store/...-loupe-45.beta/share/glib-2.0/schemas”: No such file or directory FAILED: install script '/nix/store/...-glib-2.77.1-dev/bin/glib-compile-schemas /nix/store/...-loupe-45.beta/share/glib-2.0/schemas' exit code 1, stopped FAILED: meson-internal__install /nix/store/...-meson-1.1.1/bin/meson install --no-rebuild ninja: build stopped: subcommand failed. error: builder for '/nix/store/...-loupe-45.beta.drv' failed with exit code 1; ``` --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index 8a401de..9e97f73 100644 --- a/meson.build +++ b/meson.build @@ -65,7 +65,6 @@ endif gnome.post_install( gtk_update_icon_cache: true, - glib_compile_schemas: true, update_desktop_database: true, )