Loading pkgs/tools/networking/openssh/common.nix +4 −0 Original line number Diff line number Diff line Loading @@ -18,11 +18,13 @@ , zlib , openssl , libedit , ldns , pkg-config , pam , libredirect , etcDir ? null , withKerberos ? true , withLdns ? true , libkrb5 , libfido2 , hostname Loading Loading @@ -64,6 +66,7 @@ stdenv.mkDerivation { buildInputs = [ zlib openssl libedit ] ++ lib.optional withFIDO libfido2 ++ lib.optional withKerberos libkrb5 ++ lib.optional withLdns ldns ++ lib.optional withPAM pam; preConfigure = '' Loading @@ -87,6 +90,7 @@ stdenv.mkDerivation { ++ lib.optional withKerberos (assert libkrb5 != null; "--with-kerberos5=${libkrb5}") ++ lib.optional stdenv.isDarwin "--disable-libutil" ++ lib.optional (!linkOpenssl) "--without-openssl" ++ lib.optional withLdns "--with-ldns" ++ extraConfigureFlags; ${if stdenv.hostPlatform.isStatic then "NIX_LDFLAGS" else null}= [ "-laudit" ] ++ lib.optionals withKerberos [ "-lkeyutils" ]; Loading Loading
pkgs/tools/networking/openssh/common.nix +4 −0 Original line number Diff line number Diff line Loading @@ -18,11 +18,13 @@ , zlib , openssl , libedit , ldns , pkg-config , pam , libredirect , etcDir ? null , withKerberos ? true , withLdns ? true , libkrb5 , libfido2 , hostname Loading Loading @@ -64,6 +66,7 @@ stdenv.mkDerivation { buildInputs = [ zlib openssl libedit ] ++ lib.optional withFIDO libfido2 ++ lib.optional withKerberos libkrb5 ++ lib.optional withLdns ldns ++ lib.optional withPAM pam; preConfigure = '' Loading @@ -87,6 +90,7 @@ stdenv.mkDerivation { ++ lib.optional withKerberos (assert libkrb5 != null; "--with-kerberos5=${libkrb5}") ++ lib.optional stdenv.isDarwin "--disable-libutil" ++ lib.optional (!linkOpenssl) "--without-openssl" ++ lib.optional withLdns "--with-ldns" ++ extraConfigureFlags; ${if stdenv.hostPlatform.isStatic then "NIX_LDFLAGS" else null}= [ "-laudit" ] ++ lib.optionals withKerberos [ "-lkeyutils" ]; Loading