gnu: wireguard-tools: Set #:sh argument of 'wrap-program'.

* gnu/packages/vpn.scm
  (wireguard-tools)[arguments]<#:phases>{wrap-wg-quick}:
  Set #:sh argument of ‘wrap-program’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Maxime Devos 2021-05-31 20:12:55 +02:00 committed by Ludovic Courtès
parent 96a2ae40fb
commit d1827d5c63
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -726,6 +726,7 @@ (define-public wireguard-tools
(coreutils (string-append (assoc-ref inputs "coreutils")
"/bin")))
(wrap-program (string-append out "/bin/wg-quick")
#:sh (search-input-file inputs "bin/bash")
`("PATH" ":" prefix ,(append inputs-sbin
(list coreutils))))
#t))))))