bftpd: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 04:06:10 +02:00 committed by Martin Weinelt
parent fb591b9d8b
commit 993839aab5
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, libxcrypt }:
stdenv.mkDerivation rec {
pname = "bftpd";
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-lyHQYU4aXQ/muAyaigStqO/ULL393SOelagFmuKDqm8=";
};
buildInputs = [ libxcrypt ];
preConfigure = ''
sed -re 's/-[og] 0//g' -i Makefile*
'';