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.
gstqt5
Ben Wolsieffer 2020-12-25 18:33:07 -05:00
parent 35296b1e11
commit c0681ac66a
1 changed files with 2 additions and 1 deletions

View File

@ -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;