mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
9 lines
285 B
Bash
9 lines
285 B
Bash
|
#!/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 .tmp/etc/xdg/nvim/sysinit.vim
|