nix-community.nixvim/test.sh

9 lines
258 B
Bash
Raw Normal View History

2021-01-05 11:26:49 +00:00
#!/usr/bin/env sh
# Creates a container and then runs the resulting neovim executable with the configuration
set -e
sudo nixos-container destroy nvim-test
sudo nixos-container create nvim-test --flake .
2021-02-11 15:24:00 +00:00
.tmp/sw/bin/nvim -u .tmp/etc/xdg/nvim/sysinit.vim $@