thttpd: fix build with libxcrypt
This commit is contained in:
parent
6f1812a595
commit
3f4de6d4ca
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl, libxcrypt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "thttpd";
|
||||
|
@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
|
|||
sed -i -e 's/chmod 2755/chmod 755/' extras/Makefile.in
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
libxcrypt
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p "$out/man/man1"
|
||||
sed -i -e 's/-o bin -g bin *//' Makefile
|
||||
|
|
Loading…
Reference in a new issue