gnu: openssh: Set the default sshd user PATH to something sensible.
authorLudovic Courtès <ludo@gnu.org>
Sun, 21 Aug 2016 16:29:36 +0000 (18:29 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 21 Aug 2016 22:20:48 +0000 (00:20 +0200)
* gnu/packages/ssh.scm (openssh)[arguments]: Pass
"--with-default-path".

gnu/packages/ssh.scm

index c6ff788..b2612a4 100644 (file)
@@ -146,6 +146,9 @@ a server that supports the SSH-2 protocol.")
     `(#:test-target "tests"
       #:configure-flags '("--sysconfdir=/etc"
 
+                          ;; Default value of 'PATH' used by sshd.
+                          "--with-default-path=/run/current-system/profile/bin"
+
                           ;; Enable PAM support in sshd.
                           "--with-pam")