lighttpd: make tests run, but disable
This commit is contained in:
parent
7cd8fdbf63
commit
6c1a9d9d79
@ -3,6 +3,7 @@
|
|||||||
, enableMysql ? false, mysql ? null
|
, enableMysql ? false, mysql ? null
|
||||||
, enableLdap ? false, openldap ? null
|
, enableLdap ? false, openldap ? null
|
||||||
, enableWebDAV ? true, sqlite ? null, libuuid ? null
|
, enableWebDAV ? true, sqlite ? null, libuuid ? null
|
||||||
|
, perl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert enableMagnet -> lua5_1 != null;
|
assert enableMagnet -> lua5_1 != null;
|
||||||
@ -19,6 +20,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "02ff77cpvy1006cwfym38vf78xm18plyj636ll74r7kx2bblkpxf";
|
sha256 = "02ff77cpvy1006cwfym38vf78xm18plyj636ll74r7kx2bblkpxf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs tests
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ pcre libxml2 zlib attr bzip2 which file openssl ]
|
buildInputs = [ pcre libxml2 zlib attr bzip2 which file openssl ]
|
||||||
++ stdenv.lib.optional enableMagnet lua5_1
|
++ stdenv.lib.optional enableMagnet lua5_1
|
||||||
@ -38,6 +43,9 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i "s:/usr/bin/file:${file}/bin/file:g" configure
|
sed -i "s:/usr/bin/file:${file}/bin/file:g" configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
checkInputs = [ perl ];
|
||||||
|
doCheck = false; # fails 2 tests
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p "$out/share/lighttpd/doc/config"
|
mkdir -p "$out/share/lighttpd/doc/config"
|
||||||
cp -vr doc/config "$out/share/lighttpd/doc/"
|
cp -vr doc/config "$out/share/lighttpd/doc/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user