mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
22 lines
418 B
Nix
22 lines
418 B
Nix
{ stdenv, coq, simple-io }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "coq-simple-io-test";
|
|
inherit (simple-io) src version;
|
|
checkInputs = [ 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";
|
|
|
|
}
|