nixpkgs/pkgs/development/coq-modules/simple-io/test.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
424 B
Nix
Raw Normal View History

2022-09-30 07:48:10 +00:00
{ stdenv, coq, simple-io }:
stdenv.mkDerivation {
pname = "coq-simple-io-test";
inherit (simple-io) src version;
nativeCheckInputs = [ coq simple-io ];
2022-09-30 07:48:10 +00:00
dontConfigure = true;
dontBuild = true;
doCheck = true;
checkPhase = ''
cd test
for p in Argv.v Example.v HelloWorld.v TestExtraction.v TestPervasives.v
do
[ -f $p ] && echo $p && coqc $p
done
'';
installPhase = "touch $out";
}