nix-community.nixvim/test.sh
2021-02-11 15:27:35 +00:00

8 lines
258 B
Bash
Executable file

#!/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 .
.tmp/sw/bin/nvim -u .tmp/etc/xdg/nvim/sysinit.vim $@