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.master
parent
b712e563cf
commit
ab6f63f3cb
|
@ -73,11 +73,11 @@
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((base (assoc-ref outputs "out"))
|
(let* ((base (assoc-ref outputs "out"))
|
||||||
(doc (string-append base "/share/doc/"
|
(doc (string-append base "/share/doc/"
|
||||||
,name "-" ,version)))
|
,(package-name this-package) "-"
|
||||||
|
,(package-version this-package))))
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(install-file file doc))
|
(install-file file doc))
|
||||||
(find-files "doc"))
|
(find-files "doc"))))))))
|
||||||
#t))))))
|
|
||||||
(home-page "https://www.openfabrics.org/")
|
(home-page "https://www.openfabrics.org/")
|
||||||
(synopsis "OpenIB InfiniBand Subnet Manager and management utilities")
|
(synopsis "OpenIB InfiniBand Subnet Manager and management utilities")
|
||||||
(description "\
|
(description "\
|
||||||
|
|
Reference in New Issue