From c0681ac66a4fb8c003815be5bba4adf9afddd99b Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Fri, 25 Dec 2020 18:33:07 -0500 Subject: [PATCH] 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. --- pkgs/tools/networking/openssh/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/openssh/default.nix b/pkgs/tools/networking/openssh/default.nix index c9e75f39e9b8..ef98f4821405 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;