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.
This commit is contained in:
Maxim Cournoyer 2023-04-14 21:36:49 -04:00
parent ca0e4a4b5e
commit 97e37a8a79
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -639,9 +639,7 @@ (define* (wrap-python3 python
#: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.