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