[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/15: gnu: infiniband-diags: Use gexps.
From: |
guix-commits |
Subject: |
03/15: gnu: infiniband-diags: Use gexps. |
Date: |
Thu, 23 Feb 2023 10:33:52 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 73c738bc9e5374a1dc38237dfc067fa2c320d5bd
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Feb 23 14:32:51 2023 +0100
gnu: infiniband-diags: Use gexps.
* gnu/packages/fabric-management.scm (infiniband-diags)[arguments]: Use
gexps. Replace reference to '%outputs' with references to #:outputs.
---
gnu/packages/fabric-management.scm | 46 ++++++++++++++++++++------------------
1 file changed, 24 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/fabric-management.scm
b/gnu/packages/fabric-management.scm
index 1ed65df0c1..09e4a2b854 100644
--- a/gnu/packages/fabric-management.scm
+++ b/gnu/packages/fabric-management.scm
@@ -109,28 +109,30 @@ running the opensm daemon.")
;; FIXME: needs rst2man for man pages
(list perl pkg-config))
(arguments
- '(#:configure-flags
- (list (string-append "CPPFLAGS=-I" (assoc-ref %build-inputs "opensm")
- "/include/infiniband")
- (string-append "--with-perl-installdir=" (assoc-ref %outputs
"lib")
- "/lib/perl5/vendor_perl")
- "--disable-static")
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'licence
- (lambda _
- (let ((doc (string-append (assoc-ref %outputs "lib")
"/share/doc")))
- (mkdir-p doc)
- (install-file "COPYING" doc))))
- (add-after 'install-file 'move-perl
- ;; Avoid perl in lib closure
- (lambda _
- (let ((perlout (string-append (assoc-ref %outputs "out") "/lib"))
- (perlin (string-append (assoc-ref %outputs "lib")
- "/lib/perl5")))
- (mkdir-p perlout)
- (rename-file perlin perlout)
- #t))))))
+ (list #:configure-flags
+ #~(list (string-append "CPPFLAGS=-I"
+ #$(this-package-input "opensm")
+ "/include/infiniband")
+ (string-append "--with-perl-installdir=" #$output:lib
+ "/lib/perl5/vendor_perl")
+ "--disable-static")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'licence
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((doc (string-append (assoc-ref outputs "lib")
+ "/share/doc")))
+ (mkdir-p doc)
+ (install-file "COPYING" doc))))
+ (add-after 'install-file 'move-perl
+ ;; Avoid perl in lib closure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((perlout (string-append (assoc-ref outputs "out")
+ "/lib"))
+ (perlin (string-append (assoc-ref outputs "lib")
+ "/lib/perl5")))
+ (mkdir-p perlout)
+ (rename-file perlin perlout)))))))
(home-page "https://github.com/linux-rdma/infiniband-diags")
(synopsis "Infiniband diagnostic tools")
(description "This is a set of command-line utilities to help configure,
- branch master updated (92984eb93f -> 3809aa01a1), guix-commits, 2023/02/23
- 02/15: gnu: ucx: Use gexps., guix-commits, 2023/02/23
- 01/15: gnu: ucx: Mark POWER9 as supported., guix-commits, 2023/02/23
- 03/15: gnu: infiniband-diags: Use gexps.,
guix-commits <=
- 04/15: gnu: ibutils: Use gexps., guix-commits, 2023/02/23
- 06/15: gnu: psm2: Use gexps., guix-commits, 2023/02/23
- 05/15: gnu: ibutils: Fix compilation., guix-commits, 2023/02/23
- 12/15: doc: Further clarify documentation of 'host' and 'hosts-service-type'., guix-commits, 2023/02/23
- 07/15: gnu: openmpi: Use gexps., guix-commits, 2023/02/23
- 08/15: doc: hosts-service-type: Relocate to Base Services., guix-commits, 2023/02/23
- 09/15: system: Do not export local-host-entries., guix-commits, 2023/02/23
- 10/15: doc: hosts-service-type: Improve documentation., guix-commits, 2023/02/23
- 11/15: services: hosts: Do not export '%host'., guix-commits, 2023/02/23
- 13/15: gnu: lightning: Update to 2.2.1, guix-commits, 2023/02/23