gnu: man-db: Fix cross-compilation.

* gnu/packages/linux.scm (man-db)[arguments]:
Avoid %OUTPUT when cross-compiling.
This commit is contained in:
Tobias Geerinckx-Rice 2022-01-08 03:50:11 +01:00
parent 9644d5b1e6
commit 8521adf935
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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))