me
/
guix
Archived
1
0
Fork 0

gnu: opensm: Use gexps.

* gnu/packages/fabric-management.scm (opensm)[arguments]: Use gexps.
master
Ludovic Courtès 2023-10-16 08:34:18 +02:00
parent ab6f63f3cb
commit d67fa732f7
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 14 additions and 12 deletions

View File

@ -66,18 +66,20 @@
(inputs
(list rdma-core))
(arguments
`(#:configure-flags '("--disable-static")
#:phases
(modify-phases %standard-phases
(add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((base (assoc-ref outputs "out"))
(doc (string-append base "/share/doc/"
,(package-name this-package) "-"
,(package-version this-package))))
(for-each (lambda (file)
(install-file file doc))
(find-files "doc"))))))))
(list
#:configure-flags #~'("--disable-static")
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((base (assoc-ref outputs "out"))
(doc (string-append base "/share/doc/"
#$(package-name this-package)
"-"
#$(package-version this-package))))
(for-each (lambda (file)
(install-file file doc))
(find-files "doc"))))))))
(home-page "https://www.openfabrics.org/")
(synopsis "OpenIB InfiniBand Subnet Manager and management utilities")
(description "\