mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 07:27:48 -05:00
gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper.
This will ensure that 'mailto:' links work out of the box, among others. * gnu/packages/chromium.scm (ungoogled-chromium): Modify replacement 'install phase to add xdg-utils to PATH with wrap-program.
This commit is contained in:
parent
9b52ae19b1
commit
00c1793ce8
1 changed files with 5 additions and 2 deletions
|
@ -753,6 +753,7 @@ (define-public ungoogled-chromium
|
||||||
(resources (string-append lib "/resources"))
|
(resources (string-append lib "/resources"))
|
||||||
(preferences (assoc-ref inputs "master-preferences"))
|
(preferences (assoc-ref inputs "master-preferences"))
|
||||||
(gtk+ (assoc-ref inputs "gtk+"))
|
(gtk+ (assoc-ref inputs "gtk+"))
|
||||||
|
(xdg-utils (assoc-ref inputs "xdg-utils"))
|
||||||
(sh (which "sh")))
|
(sh (which "sh")))
|
||||||
|
|
||||||
(substitute* '("chrome/app/resources/manpage.1.in"
|
(substitute* '("chrome/app/resources/manpage.1.in"
|
||||||
|
@ -789,7 +790,8 @@ (define-public ungoogled-chromium
|
||||||
|
|
||||||
(wrap-program exe
|
(wrap-program exe
|
||||||
;; Avoid file manager crash. See <https://bugs.gnu.org/26593>.
|
;; Avoid file manager crash. See <https://bugs.gnu.org/26593>.
|
||||||
`("XDG_DATA_DIRS" ":" prefix (,(string-append gtk+ "/share")))))
|
`("XDG_DATA_DIRS" ":" prefix (,(string-append gtk+ "/share")))
|
||||||
|
`("PATH" ":" prefix (,(string-append xdg-utils "/bin")))))
|
||||||
|
|
||||||
(with-directory-excursion "chrome/app/theme/chromium"
|
(with-directory-excursion "chrome/app/theme/chromium"
|
||||||
(for-each
|
(for-each
|
||||||
|
@ -874,7 +876,8 @@ (define-public ungoogled-chromium
|
||||||
("udev" ,eudev)
|
("udev" ,eudev)
|
||||||
("valgrind" ,valgrind)
|
("valgrind" ,valgrind)
|
||||||
("vulkan-headers" ,vulkan-headers)
|
("vulkan-headers" ,vulkan-headers)
|
||||||
("wayland" ,wayland)))
|
("wayland" ,wayland)
|
||||||
|
("xdg-utils" ,xdg-utils)))
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "CHROMIUM_EXTENSION_DIRECTORY")
|
(variable "CHROMIUM_EXTENSION_DIRECTORY")
|
||||||
|
|
Loading…
Reference in a new issue