gnu: vpnc-scripts: Set #:guile argument of 'wrap-script'.
* gnu/packages/vpn.scm (vpnc-scripts)[arguments]<#:phases>{wrap-scripts}: Set #:guile argument of ‘wrap-script’. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
a4e38cc216
commit
3bbb0ec888
|
@ -192,10 +192,12 @@ Only \"Universal TUN/TAP device driver support\" is needed in the kernel.")
|
||||||
;; Wrap scripts with paths to their common hard dependencies.
|
;; Wrap scripts with paths to their common hard dependencies.
|
||||||
;; Optional dependencies will need to be installed by the user.
|
;; Optional dependencies will need to be installed by the user.
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
(guile (search-input-file inputs "bin/guile")))
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (script)
|
(lambda (script)
|
||||||
(wrap-script (string-append out "/etc/vpnc/" script)
|
(wrap-script (string-append out "/etc/vpnc/" script)
|
||||||
|
#:guile guile
|
||||||
`("PATH" ":" prefix
|
`("PATH" ":" prefix
|
||||||
,(map (lambda (name)
|
,(map (lambda (name)
|
||||||
(let ((input (assoc-ref inputs name)))
|
(let ((input (assoc-ref inputs name)))
|
||||||
|
|
Reference in New Issue