flatpak: set sysconfdir

Otherwise, flatpak looks for configuration files inside the Nix store:

	$ flatpak list --installation=test -v
	F: No installations directory in /nix/store/gb76s3h00k2r95snjdxs3840sn3ab22f-flatpak-1.16.1/etc/flatpak/installations.d. Skipping
	error: Could not find installation test

This was previously fixed in 01189fb832 ("flatpak: fix config
location") but lost in the conversion to Meson in
ae96b31920 ("flatpak: 1.14.10 -> 1.16.0").
This commit is contained in:
Alyssa Ross
2025-10-19 16:16:06 +02:00
parent 544961dfcc
commit 8d747abaec

View File

@@ -228,6 +228,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.mesonOption "system_dbus_proxy" (lib.getExe xdg-dbus-proxy))
(lib.mesonOption "system_fusermount" "/run/wrappers/bin/fusermount3")
(lib.mesonOption "system_install_dir" "/var/lib/flatpak")
(lib.mesonOption "sysconfdir" "/etc")
];
nativeCheckInputs = [