tamarin-prover: enable tests

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2017-12-30 19:39:23 -06:00
parent 2efe8b95c8
commit ff555bdaeb

View File

@ -65,13 +65,15 @@ mkDerivation (common "tamarin-prover" src // {
enableSharedExecutables = false; enableSharedExecutables = false;
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc"; postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
# wrap the prover to be sure it can find maude # wrap the prover to be sure it can find maude, sapic, etc
executableToolDepends = [ makeWrapper which maude graphviz sapic ];
postInstall = '' postInstall = ''
wrapProgram $out/bin/tamarin-prover \ wrapProgram $out/bin/tamarin-prover \
--prefix PATH : ${lib.makeBinPath [ which maude graphviz sapic ]} --prefix PATH : ${lib.makeBinPath [ which maude graphviz sapic ]}
''; '';
executableToolDepends = [ makeWrapper ]; checkPhase = "./dist/build/tamarin-prover/tamarin-prover test";
executableHaskellDepends = (with haskellPackages; [ executableHaskellDepends = (with haskellPackages; [
base binary binary-orphans blaze-builder blaze-html bytestring base binary binary-orphans blaze-builder blaze-html bytestring
cmdargs conduit containers deepseq directory fclabels file-embed cmdargs conduit containers deepseq directory fclabels file-embed