guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/25: gnu: wrap-python3: Replace assoc-ref call with gexp variable.


From: guix-commits
Subject: 11/25: gnu: wrap-python3: Replace assoc-ref call with gexp variable.
Date: Sat, 15 Apr 2023 00:27:33 -0400 (EDT)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 97e37a8a79d8f430f3023ebec49277b9cb65468a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Apr 14 21:36:49 2023 -0400

    gnu: wrap-python3: Replace assoc-ref call with gexp variable.
    
    * gnu/packages/python.scm (wrap-python3) [arguments]: Replace assoc-ref call
    with gexp variable in builder.
---
 gnu/packages/python.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3e3074d5d8..bfe8a68352 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -639,9 +639,7 @@ for more information.")))
            #:builder
            #~(begin
                (use-modules (guix build utils))
-
-               ;; TODO: Remove 'assoc-ref' uses on next rebuild cycle.
-               (let ((bin (string-append (assoc-ref %outputs "out") "/bin"))
+               (let ((bin (string-append #$output "/bin"))
                      (python (string-append
                               ;; XXX: '%build-inputs' contains the native
                               ;; Python when cross-compiling.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]