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*
'';