diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-10-16 08:30:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-11-15 11:36:19 +0100 |
commit | ab6f63f3cb68c57a16afc71b403ebd6711351d3a (patch) | |
tree | 740e394c47a89993e96b1c3b45c261575c45f289 /gnu | |
parent | b712e563cf362e773aa3ad031411d69339b97843 (diff) | |
download | guix-ab6f63f3cb68c57a16afc71b403ebd6711351d3a.tar.gz guix-ab6f63f3cb68c57a16afc71b403ebd6711351d3a.zip |
gnu: opensm: Use the right version string for the doc directory.
Previously, when built with ‘--with-latest=opensm’, the package would
install its documentation under a directory with the wrong version
string.
* gnu/packages/fabric-management.scm (opensm)[arguments]: Use the name
and version of THIS-PACKAGE.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/fabric-management.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm index b6b2e5176c..545cd4ff67 100644 --- a/gnu/packages/fabric-management.scm +++ b/gnu/packages/fabric-management.scm @@ -73,11 +73,11 @@ (lambda* (#:key outputs #:allow-other-keys) (let* ((base (assoc-ref outputs "out")) (doc (string-append base "/share/doc/" - ,name "-" ,version))) + ,(package-name this-package) "-" + ,(package-version this-package)))) (for-each (lambda (file) (install-file file doc)) - (find-files "doc")) - #t)))))) + (find-files "doc")))))))) (home-page "https://www.openfabrics.org/") (synopsis "OpenIB InfiniBand Subnet Manager and management utilities") (description "\ |