+1
nixos/modules/services/desktops/flatpak.nix
+1
nixos/modules/services/desktops/flatpak.nix
+6
nixos/tests/installed-tests/default.nix
+6
nixos/tests/installed-tests/default.nix
···
+3
-6
nixos/tests/installed-tests/flatpak.nix
+3
-6
nixos/tests/installed-tests/flatpak.nix
···-services.xserver.desktopManager.gnome3.enable = true; # TODO: figure out minimal environment where the tests work
+42
-12
pkgs/development/libraries/flatpak/default.nix
+42
-12
pkgs/development/libraries/flatpak/default.nix
·········url = "https://github.com/flatpak/flatpak/releases/download/${version}/${pname}-${version}.tar.xz";······+url = "https://github.com/flatpak/flatpak/commit/c1447dadecd50f384b6d11dac18b014245267d00.patch";·········+PATH=${stdenv.lib.makeBinPath [vsc-py]}:$PATH patchShebangs --build variant-schema-compiler/variant-schema-compiler
+19
-12
pkgs/development/libraries/flatpak/fix-test-paths.patch
+19
-12
pkgs/development/libraries/flatpak/fix-test-paths.patch
·········-@@ -440,7 +440,7 @@ dbus-daemon --fork --config-file=session.conf --print-address=3 --print-pid=4 \+@@ -504,7 +504,7 @@ dbus-daemon --fork --config-file=session.conf --print-address=3 --print-pid=4 \···············+mv ${DIR}/nix/store ${DIR}/usr/store # files outside /usr are not permitted, we will have to replace /nix/store with /usr/store+chmod -R u+w ${DIR} # nix store has read-only directories which would cause problems during clean-up, files need to be writable for sed+find ${DIR} -type f -print0 | xargs -0 sed -i 's~/nix/store/~/usr/store/~g' # replace hardcoded paths···