mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
boogie: format with nixfmt
This commit is contained in:
parent
5b462ef57a
commit
6e919bf975
@ -1,4 +1,9 @@
|
||||
{ lib, buildDotnetModule, fetchFromGitHub, z3 }:
|
||||
{
|
||||
lib,
|
||||
buildDotnetModule,
|
||||
fetchFromGitHub,
|
||||
z3,
|
||||
}:
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "Boogie";
|
||||
@ -24,18 +29,18 @@ buildDotnetModule rec {
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# so that this derivation can be used as a vim plugin to install syntax highlighting
|
||||
vimdir=$out/share/vim-plugins/boogie
|
||||
install -Dt $vimdir/syntax/ Util/vim/syntax/boogie.vim
|
||||
mkdir $vimdir/ftdetect
|
||||
echo 'au BufRead,BufNewFile *.bpl set filetype=boogie' > $vimdir/ftdetect/bpl.vim
|
||||
mkdir -p $out/share/nvim
|
||||
ln -s $out/share/vim-plugins/boogie $out/share/nvim/site
|
||||
# so that this derivation can be used as a vim plugin to install syntax highlighting
|
||||
vimdir=$out/share/vim-plugins/boogie
|
||||
install -Dt $vimdir/syntax/ Util/vim/syntax/boogie.vim
|
||||
mkdir $vimdir/ftdetect
|
||||
echo 'au BufRead,BufNewFile *.bpl set filetype=boogie' > $vimdir/ftdetect/bpl.vim
|
||||
mkdir -p $out/share/nvim
|
||||
ln -s $out/share/vim-plugins/boogie $out/share/nvim/site
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
ln -s "$out/bin/BoogieDriver" "$out/bin/boogie"
|
||||
rm -f $out/bin/{Microsoft,NUnit3,System}.* "$out/bin"/*Tests
|
||||
ln -s "$out/bin/BoogieDriver" "$out/bin/boogie"
|
||||
rm -f $out/bin/{Microsoft,NUnit3,System}.* "$out/bin"/*Tests
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
Loading…
Reference in New Issue
Block a user