From 01189fb83231e02ff9226384836d3e3da9f70238 Mon Sep 17 00:00:00 2001 From: mae Date: Tue, 16 Apr 2024 21:32:09 +0200 Subject: [PATCH] flatpak: fix config location By default the build system sets the config location to $prefix/etc/flatpak, which(due to the immutability of the nix store) prevents the user from changing any configuration options. This moves the config file to /etc/flatpak. --- pkgs/development/libraries/flatpak/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/flatpak/default.nix b/pkgs/development/libraries/flatpak/default.nix index 1786d84e7a4b..576ccdea3329 100644 --- a/pkgs/development/libraries/flatpak/default.nix +++ b/pkgs/development/libraries/flatpak/default.nix @@ -165,7 +165,9 @@ stdenv.mkDerivation (finalAttrs: { "--with-system-bubblewrap=${bubblewrap}/bin/bwrap" "--with-system-dbus-proxy=${xdg-dbus-proxy}/bin/xdg-dbus-proxy" "--with-dbus-config-dir=${placeholder "out"}/share/dbus-1/system.d" + "--with-profile-dir=${placeholder "out"}/etc/profile.d" "--localstatedir=/var" + "--sysconfdir=/etc" "--enable-gtk-doc" "--enable-installed-tests" ];