tests: bump nmt
This commit is contained in:
parent
8d3b273afe
commit
f4998f0adc
3 changed files with 8 additions and 10 deletions
|
|
@ -24,12 +24,10 @@ with lib;
|
|||
|
||||
nmt.script = ''
|
||||
vimrc="$TESTED/home-files/.config/nvim/init.vim"
|
||||
${pkgs.perl}/bin/perl -pe "s|\Q$NIX_STORE\E/[a-z0-9]{32}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" < "$vimrc" > $out/generated.vim
|
||||
assertFileExists home-files/.config/nvim/init.vim
|
||||
# We need to remove the unkown store paths in the config
|
||||
assertFileContent \
|
||||
$out/generated.vim \
|
||||
"${./plugin-config.vim}"
|
||||
vimrcNormalized="$(normalizeStorePaths "$vimrc")"
|
||||
|
||||
assertFileExists "$vimrc"
|
||||
assertFileContent "$vimrcNormalized" "${./plugin-config.vim}"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
set packpath^=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vim-pack-dir
|
||||
set runtimepath^=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vim-pack-dir
|
||||
set packpath^=/nix/store/00000000000000000000000000000000-vim-pack-dir
|
||||
set runtimepath^=/nix/store/00000000000000000000000000000000-vim-pack-dir
|
||||
|
||||
" vim-commentary {{{
|
||||
" This should be present too
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue