mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-04 14:24:29 +02:00
flake/dev: prefix nixvim's nixpkgs to devshell NIX_PATH
This commit is contained in:
parent
30d8be8628
commit
54c44c09fa
1 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,14 @@
|
|||
config.formatter
|
||||
];
|
||||
|
||||
env = [
|
||||
{
|
||||
# Prefix NIX_PATH with nixvim's nixpkgs while in the devshell
|
||||
name = "NIX_PATH";
|
||||
eval = "nixpkgs=$NIXPKGS_PATH:\${NIX_PATH:-}";
|
||||
}
|
||||
];
|
||||
|
||||
commands =
|
||||
let
|
||||
# Thanks to this, the user can choose to use `nix-output-monitor` (`nom`) instead of plain `nix`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue