diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-01-08 03:50:11 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-01-08 03:56:38 +0100 |
commit | 8521adf935919d1dc07078751f77003405cf79cb (patch) | |
tree | 88a33214183bae9a574b47f455839992b1f4cc8e /gnu/packages/man.scm | |
parent | 9644d5b1e6b2ab7df0d8355051bffb3847e44615 (diff) | |
download | guix-8521adf935919d1dc07078751f77003405cf79cb.tar.gz |
gnu: man-db: Fix cross-compilation.
* gnu/packages/linux.scm (man-db)[arguments]: Avoid %OUTPUT when cross-compiling.
Diffstat (limited to 'gnu/packages/man.scm')
-rw-r--r-- | gnu/packages/man.scm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index d9e8b07471..c6d8b8881d 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -183,10 +183,17 @@ a flexible and convenient way.") (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)) |