gnu: carla: Set #:guile argument of 'wrap-script'.

* gnu/packages/audio.scm
  (carla)[arguments]<#:phases>{wrap-executables}:
  Set #:guile argument of ‘wrap-script’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Maxime Devos 2021-05-31 19:41:22 +02:00 committed by Ludovic Courtès
parent a62d17dc05
commit 0a843e3643
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -4711,9 +4711,10 @@ (define-public carla
(chmod (string-append out "/share/carla/carla") #o555) (chmod (string-append out "/share/carla/carla") #o555)
#t))) #t)))
(add-after 'install 'wrap-executables (add-after 'install 'wrap-executables
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(wrap-script (string-append out "/bin/carla") (wrap-script (string-append out "/bin/carla")
#:guile (search-input-file inputs "bin/guile")
`("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))) `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))))
#t)))))) #t))))))
(inputs (inputs