about summary refs log tree commit diff
path: root/pkgs/tools/networking/openssh
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2020-12-25 18:33:07 -0500
committerBen Wolsieffer <benwolsieffer@gmail.com>2020-12-25 18:36:21 -0500
commitc0681ac66a4fb8c003815be5bba4adf9afddd99b (patch)
tree32bf2d0b388ddad08e279bd90222b66e40cacd97 /pkgs/tools/networking/openssh
parent35296b1e11b532cd7459c6a0a3073d599fea6995 (diff)
openssh: fix cross-compilation after #100906
krb5-config from the host platform needs to be added to PATH so it can be run
during build. This works because krb5-config is a platform independent
shell-script. Before #100906, krb5-config was not used, so we didn't run into
this problem.
Diffstat (limited to 'pkgs/tools/networking/openssh')
-rw-r--r--pkgs/tools/networking/openssh/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/networking/openssh/default.nix b/pkgs/tools/networking/openssh/default.nix
index c9e75f39e9b85..ef98f48214050 100644
--- a/pkgs/tools/networking/openssh/default.nix
+++ b/pkgs/tools/networking/openssh/default.nix
@@ -1,4 +1,5 @@
 { stdenv
+, pkgs
 , fetchurl
 , fetchpatch
 , zlib
@@ -68,7 +69,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ pkgconfig ]
     ++ optional (hpnSupport || withGssapiPatches) autoreconfHook
-    ++ optional withKerberos kerberos.dev;
+    ++ optional withKerberos pkgs.kerberos.dev;
   buildInputs = [ zlib openssl libedit pam ]
     ++ optional withFIDO libfido2
     ++ optional withKerberos kerberos;