From patchwork Thu Oct 19 19:36:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 55050 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8863B27BBE2; Thu, 19 Oct 2023 20:38:02 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9F30B27BBE9 for ; Thu, 19 Oct 2023 20:37:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtYq2-0005Le-TV; Thu, 19 Oct 2023 15:37:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtYpv-0005K3-Th for guix-patches@gnu.org; Thu, 19 Oct 2023 15:37:40 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtYpr-0000qh-Mp for guix-patches@gnu.org; Thu, 19 Oct 2023 15:37:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtYqI-0002DO-Eb for guix-patches@gnu.org; Thu, 19 Oct 2023 15:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66573] [PATCH v2 02/11] gnu: opensm: Use gexps. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Oct 2023 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66573 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66573@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 66573-submit@debbugs.gnu.org id=B66573.16977442388362 (code B ref 66573); Thu, 19 Oct 2023 19:38:02 +0000 Received: (at 66573) by debbugs.gnu.org; 19 Oct 2023 19:37:18 +0000 Received: from localhost ([127.0.0.1]:37781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtYpZ-0002Ai-FQ for submit@debbugs.gnu.org; Thu, 19 Oct 2023 15:37:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtYpU-00029l-3i for 66573@debbugs.gnu.org; Thu, 19 Oct 2023 15:37:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtYox-0008BP-Vi; Thu, 19 Oct 2023 15:36:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=4YGB7J2f5C8MswJaLUIKHZ5L0gO3w8LI40xxbLZ0DLc=; b=OchjhvVTwz37glzK1ghq bK1wb2/zAozIU+3x3rzqQJHoyIxjmX2UunK70/K96CJoLJ02Vo7reeWv7RSeGO206AMdj8frd1+Ot ewCVprbJjq07KQbr+yeLUEAtCV5iHbQIORgjIRlwF3mOjow8UUA8HTIpXPB6ykVtrsmPc5K2ic86E K2y4htGTsjMDertaxHmV+p+L0JaDcpc9q4BOuZAKcNdENP1id0yKRJqSuJntOnVQZM5BVadvzOg0y ally5MYi+EHo25bkCHI43z+pZyaLujTjzAF3ZrlWEZGxNY1zUd5LuI8+ifSpxsSQ/XOwe6UrskbNc c0lYX3WeD7BZQA==; From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Thu, 19 Oct 2023 21:36:12 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/fabric-management.scm (opensm)[arguments]: Use gexps. --- gnu/packages/fabric-management.scm | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm index 545cd4ff67..740c570911 100644 --- a/gnu/packages/fabric-management.scm +++ b/gnu/packages/fabric-management.scm @@ -66,18 +66,20 @@ (define-public opensm (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 "\