summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-05-31 20:12:55 +0200
committerLudovic Courtès <ludo@gnu.org>2021-06-04 22:34:33 +0200
commitd1827d5c636adb395153a4ed6064629ed5b7664b (patch)
tree7a0fa0d8cbc3cc1a3532ca5108c03265bb42dd93
parent96a2ae40fb6fb8877831dcf9f1057b6f64837830 (diff)
downloadguix-d1827d5c636adb395153a4ed6064629ed5b7664b.tar.gz
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>
-rw-r--r--gnu/packages/vpn.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 66c103e75f..34715a4cc8 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -726,6 +726,7 @@ WireGuard was added to Linux 5.6.")
                    (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))))))