leafnode: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-29 17:14:03 +02:00 committed by Martin Weinelt
parent 3575e575f8
commit ec31b96900
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pcre }:
{ lib, stdenv, fetchurl, pcre, libxcrypt }:
stdenv.mkDerivation {
pname = "leafnode";
@ -27,7 +27,7 @@ stdenv.mkDerivation {
sed -i validatefqdn.c -e 's/int is_validfqdn(const char \*f) {/int is_validfqdn(const char *f) { return 1;/;'
'';
buildInputs = [ pcre];
buildInputs = [ pcre libxcrypt ];
meta = {
homepage = "http://leafnode.sourceforge.net/";