summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-03-06 00:07:58 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-03-06 00:15:26 +0100
commit2e625ef73a5e54dd9dca6a7093ecf26ae44cfe32 (patch)
tree28ce5824b8ab4cf1ad1e3b72a23f1a31552d33cf
parentcc7058b20b6502e1de951ce5e4931539235d7775 (diff)
downloadguix-2e625ef73a5e54dd9dca6a7093ecf26ae44cfe32.tar.gz
gnu: lxc: Fix documentation directory.
* gnu/packages/virtualization.scm (lxc)[arguments]: Set ‘--docdir’ in #:configure-flags.
-rw-r--r--gnu/packages/virtualization.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 579bd6a593..5b5d5a518a 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -372,9 +372,11 @@ all common programming languages.  Vala bindings are also provided.")
        ("libseccomp" ,libseccomp)
        ("libselinux" ,libselinux)))
     (arguments
-     '(#:configure-flags
-       '("--sysconfdir=/etc"
-         "--localstatedir=/var")
+     `(#:configure-flags
+       (list (string-append "--docdir=" (assoc-ref %outputs "out")
+                            "/share/doc/" ,name "-" ,version)
+             "--sysconfdir=/etc"
+             "--localstatedir=/var")
        #:phases
        (modify-phases %standard-phases
          (replace 'install