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.
This commit is contained in:
parent
35296b1e11
commit
c0681ac66a
@ -1,4 +1,5 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
|
, pkgs
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, zlib
|
, zlib
|
||||||
@ -68,7 +69,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ]
|
nativeBuildInputs = [ pkgconfig ]
|
||||||
++ optional (hpnSupport || withGssapiPatches) autoreconfHook
|
++ optional (hpnSupport || withGssapiPatches) autoreconfHook
|
||||||
++ optional withKerberos kerberos.dev;
|
++ optional withKerberos pkgs.kerberos.dev;
|
||||||
buildInputs = [ zlib openssl libedit pam ]
|
buildInputs = [ zlib openssl libedit pam ]
|
||||||
++ optional withFIDO libfido2
|
++ optional withFIDO libfido2
|
||||||
++ optional withKerberos kerberos;
|
++ optional withKerberos kerberos;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user