dropbear: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 02:10:51 +02:00 committed by Martin Weinelt
parent 67408deaa2
commit f0f14f1db5
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, glibc, zlib
{ lib, stdenv, fetchurl, glibc, zlib, libxcrypt
, enableStatic ? stdenv.hostPlatform.isStatic
, enableSCP ? false
, sftpPath ? "/run/current-system/sw/libexec/sftp-server"
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
./pass-path.patch
];
buildInputs = [ zlib ] ++ lib.optionals enableStatic [ glibc.static zlib.static ];
buildInputs = [ zlib libxcrypt ] ++ lib.optionals enableStatic [ glibc.static zlib.static ];
meta = with lib; {
homepage = "https://matt.ucc.asn.au/dropbear/dropbear.html";