Skip to content

Commit

Permalink
nixos: Run two different neovims
Browse files Browse the repository at this point in the history
One is wrapped and the other is unwrapped.
  • Loading branch information
juanibiapina committed Mar 18, 2024
1 parent f2dc0ba commit c252a2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
vivaldi

# coding
neovim-unwrapped
(callPackage ./packages/nvim.nix {})
vim
vscode
Expand Down
2 changes: 1 addition & 1 deletion assets/nix/packages/nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ wrapped = wrapNeovim neovim-unwrapped {
};
in
writeShellApplication {
name = "nvim";
name = "nvim-test";
text = ''${wrapped}/bin/nvim "$@"'';
}

0 comments on commit c252a2f

Please sign in to comment.