summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/package-management.scm14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 25224b8eb6e..39abd18bd7a 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -2214,11 +2214,19 @@ cp -r /tmp/locale/*/en_US.*")))
2214 libseccomp 2214 libseccomp
2215 libxau)) 2215 libxau))
2216 (native-search-paths 2216 (native-search-paths
2217 (list (search-path-specification 2217 (list ;; Flatpak creates desktop files on its own.
2218 ;; If those desktop files contain DBusActivatable=true, the application
2219 ;; will be invoked by using dbus activation. But dbus activation
2220 ;; doesn't use $PATH but rather does execve while the working directory
2221 ;; is "/". That means, if the Exec entry contains just "flatpak",
2222 ;; that won't be ever found.
2223 ;; When flatpak creates desktop files, it uses a path from
2224 ;; $FLATPAK_BINARY if set.
2225 ;; See <https://codeberg.org/guix/guix/issues/438>.
2226 (search-path-specification
2218 (variable "FLATPAK_BINARY") 2227 (variable "FLATPAK_BINARY")
2219 (separator #f) 2228 (separator #f)
2220 (files '("bin")) 2229 (files '("bin/flatpak"))
2221 (file-pattern "^flatpak$")
2222 (file-type 'regular)))) 2230 (file-type 'regular))))
2223 (home-page "https://flatpak.org") 2231 (home-page "https://flatpak.org")
2224 (synopsis "System for building, distributing, and running sandboxed desktop 2232 (synopsis "System for building, distributing, and running sandboxed desktop