Merge pull request #38260 from symphorien/tamarin-vim

tamarin-prover: install vim syntax highlighting files
This commit is contained in:
Matthew Justin Bauer 2018-04-08 21:47:12 -05:00 committed by GitHub
commit 72a54f3b6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,6 +70,9 @@ mkDerivation (common "tamarin-prover" src // {
postInstall = ''
wrapProgram $out/bin/tamarin-prover \
--prefix PATH : ${lib.makeBinPath [ which maude graphviz sapic ]}
# so that the package can be used as a vim plugin to install syntax coloration
install -Dt $out/share/vim-plugins/tamarin-prover/syntax/ etc/{spthy,sapic}.vim
install etc/filetype.vim -D $out/share/vim-plugins/tamarin-prover/ftdetect/tamarin.vim
'';
checkPhase = "./dist/build/tamarin-prover/tamarin-prover test";