swec: use checkInputs

This commit is contained in:
Jan Malakhovski 2018-08-08 21:38:39 +00:00
parent 1563671e88
commit 75993b0f93

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1m3971z4z1wr0paggprfz0n8ng8vsnkc9m6s3bdplgyz7qjk6jwx"; sha256 = "1m3971z4z1wr0paggprfz0n8ng8vsnkc9m6s3bdplgyz7qjk6jwx";
}; };
buildInputs = [ makeWrapper perl LWP URI HTMLParser ] buildInputs = [ makeWrapper perl LWP URI HTMLParser ];
++ stdenv.lib.optionals doCheck [ HTTPServerSimple Parent ]; checkInputs = [ HTTPServerSimple Parent ];
configurePhase = '' configurePhase = ''
for i in swec tests/{runTests,testServer} for i in swec tests/{runTests,testServer}