openssh: Fix cross-compile regression from c99c499 (#117053)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by

Matthew Mazzanti
Sandro
and committed by
GitHub
b1b48e10 5147e2f0

+7 -1
+7 -1
pkgs/tools/networking/openssh/common.nix
··· 8 8 }: 9 9 10 10 { lib, stdenv 11 + # This *is* correct, though unusual. as a way of getting krb5-config from the 12 + # package without splicing See: https://github.com/NixOS/nixpkgs/pull/107606 13 + , pkgs 11 14 , fetchurl 12 15 , fetchpatch 13 16 , zlib ··· 42 45 ''; 43 46 44 47 nativeBuildInputs = [ pkg-config ] 45 - ++ optional withKerberos kerberos 48 + # This is not the same as the kerberos from the inputs! pkgs.kerberos is 49 + # needed here to access krb5-config in order to cross compile. See: 50 + # https://github.com/NixOS/nixpkgs/pull/107606 51 + ++ optional withKerberos pkgs.kerberos 46 52 ++ extraNativeBuildInputs; 47 53 buildInputs = [ zlib openssl libedit ] 48 54 ++ optional withFIDO libfido2