mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: man-db: Fix cross-compilation.
* gnu/packages/linux.scm (man-db)[arguments]: Avoid %OUTPUT when cross-compiling.
This commit is contained in:
parent
9644d5b1e6
commit
8521adf935
1 changed files with 9 additions and 2 deletions
|
@ -183,10 +183,17 @@ (define-public man-db
|
|||
(string-append "--with-xz=" xz "/bin/xz")
|
||||
(string-append "--with-col=" util "/bin/col")
|
||||
;; The default systemd directories ignore --prefix.
|
||||
;; XXX TODO: Replace with simply #$OUTPUT on staging.
|
||||
(string-append "--with-systemdsystemunitdir="
|
||||
%output "/lib/systemd/system")
|
||||
#$(if (%current-target-system)
|
||||
#~#$output
|
||||
#~%output)
|
||||
"/lib/systemd/system")
|
||||
(string-append "--with-systemdtmpfilesdir="
|
||||
%output "/lib/tmpfiles.d"))
|
||||
#$(if (%current-target-system)
|
||||
#~#$output
|
||||
#~%output)
|
||||
"/lib/tmpfiles.d"))
|
||||
(map (lambda (prog)
|
||||
(string-append "--with-" prog "=" groff-minimal
|
||||
"/bin/" prog))
|
||||
|
|
Loading…
Reference in a new issue