leafnode: fix build with libxcrypt

authored by Franz Pletz and committed by Martin Weinelt ec31b969 3575e575

+2 -2
+2 -2
pkgs/servers/news/leafnode/default.nix
··· 1 - { lib, stdenv, fetchurl, pcre }: 2 3 stdenv.mkDerivation { 4 pname = "leafnode"; ··· 27 sed -i validatefqdn.c -e 's/int is_validfqdn(const char \*f) {/int is_validfqdn(const char *f) { return 1;/;' 28 ''; 29 30 - buildInputs = [ pcre]; 31 32 meta = { 33 homepage = "http://leafnode.sourceforge.net/";
··· 1 + { lib, stdenv, fetchurl, pcre, libxcrypt }: 2 3 stdenv.mkDerivation { 4 pname = "leafnode"; ··· 27 sed -i validatefqdn.c -e 's/int is_validfqdn(const char \*f) {/int is_validfqdn(const char *f) { return 1;/;' 28 ''; 29 30 + buildInputs = [ pcre libxcrypt ]; 31 32 meta = { 33 homepage = "http://leafnode.sourceforge.net/";