depot/third_party/nixpkgs/pkgs/development/coq-modules/simple-io/test.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

21 lines
424 B
Nix

{ stdenv, coq, simple-io }:
stdenv.mkDerivation {
pname = "coq-simple-io-test";
inherit (simple-io) src version;
nativeCheckInputs = [ coq simple-io ];
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";
}