Flatpak writes files for installed applications with the full Flatpak (store) path. This patch makes it write just "flatpak", using Flatpak from PATH. This is similar to the NixOS [0] patch, updated for Flatpak 1.12.1 [0] https://github.com/NixOS/nixpkgs/blob/bf4167861d0f864b0fc457778d54feb4a2675ea2/pkgs/development/libraries/flatpak/use-flatpak-from-path.patch diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index 80ff5e5f..0c111c31 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -7134,8 +7134,7 @@ export_desktop_file (const char *app, flatpak = FLATPAK_BINDIR "/flatpak"; g_string_append_printf (new_exec, - "%s run --branch=%s --arch=%s", - flatpak, + "flatpak run --branch=%s --arch=%s", escaped_branch, escaped_arch); @@ -8467,8 +8466,8 @@ flatpak_dir_deploy (FlatpakDir *self, if ((flatpak = g_getenv ("FLATPAK_BINARY")) == NULL) flatpak = FLATPAK_BINDIR "/flatpak"; - bin_data = g_strdup_printf ("#!/bin/sh\nexec %s run --branch=%s --arch=%s %s \"$@\"\n", - flatpak, escaped_branch, escaped_arch, escaped_app); + bin_data = g_strdup_printf ("#!/bin/sh\nexec flatpak run --branch=%s --arch=%s %s \"$@\"\n", + escaped_branch, escaped_arch, escaped_app); if (!g_file_replace_contents (wrapper, bin_data, strlen (bin_data), NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, cancellable, error)) return FALSE; e='hidden' name='id' value='d3281df55141583f9d08d713ad30718acd97c1c4'/>
path: root/etc/time-travel-manifest.scm
AgeCommit message (Expand)Author
2023-09-09time-travel-manifest: Comment out versions older than 1.3.0 for now....* etc/time-travel-manifest.scm (%release-commits): Comment out revisions older than 1.3.0. Ludovic Courtès
2023-09-09time-travel-manifest: Add 1.4.0....* etc/time-travel-manifest.scm (%release-commits): Add 1.4.0. Ludovic Courtès
2022-08-17time-travel-manifest: Use a separate cache per system....* etc/time-travel-manifest.scm (<guix-instance-compiler>): Use a separate cache per system so that parallel system evaluations do no step on each other's toes. Mathieu Othacehe
2022-07-10time-travel-manifest: Use a separate Git checkout cache....* etc/time-travel-manifest.scm (guix-instance-compiler): Parameterize %REPOSITORY-CACHE-DIRECTORY. Ludovic Courtès
2022-07-08etc: Add 'time-travel-manifest.scm'....This manifest makes it easy to test travels from the current revision back to the revision of a past Guix release. Suggested by zimoun <zimon.toutoune@gmail.com>. * etc/time-travel-manifest.scm: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès