mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: libreoffice: Fix ‘soffice’ in a pure environment.
* gnu/packages/libreoffice.scm (libreoffice)[arguments]: Refer to grep and coreutils by absolute file name in the soffice launcher script.
This commit is contained in:
parent
dd6114dfc5
commit
d5f344c987
1 changed files with 8 additions and 0 deletions
|
@ -1034,6 +1034,14 @@ (define-public libreoffice
|
||||||
"solenv/gbuild/platform/unxgcc.mk")
|
"solenv/gbuild/platform/unxgcc.mk")
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh") (which "sh")))
|
||||||
|
|
||||||
|
;; Use store references for strictly necessary commands,
|
||||||
|
;; but not for optional tools like ‘gdb’ and ‘valgrind’.
|
||||||
|
(for-each (lambda (command)
|
||||||
|
(substitute* "desktop/scripts/soffice.sh"
|
||||||
|
(((format #f"~a " command))
|
||||||
|
(format #f "~a " (which command)))))
|
||||||
|
(list "dirname" "grep" "uname"))
|
||||||
|
|
||||||
;; GPGME++ headers are installed in a gpgme++ subdirectory, but
|
;; GPGME++ headers are installed in a gpgme++ subdirectory, but
|
||||||
;; files in "xmlsecurity/source/gpg/" and elsewhere expect to
|
;; files in "xmlsecurity/source/gpg/" and elsewhere expect to
|
||||||
;; find them on the include path without a prefix.
|
;; find them on the include path without a prefix.
|
||||||
|
|
Loading…
Reference in a new issue