mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
flake/dev: fix nix-output-monitor
- Bash resolves `'${VAR:-0}'` as literal string `'${VAR:-0}'`, instead we want a value from `$VAR`. - Proper package name for NOM is `nix-output-monitor`, not `nom`.
This commit is contained in:
parent
35e837c10b
commit
0957f5fd89
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
commands =
|
||||
let
|
||||
# Thanks to this, the user can choose to use `nix-output-monitor` (`nom`) instead of plain `nix`
|
||||
nix = "$([ '$\{NIXVIM_NOM:-0}' = '1' ] && echo ${pkgs.lib.getExe pkgs.nom} || echo nix)";
|
||||
nix = ''$([ "$\{NIXVIM_NOM:-0}" = '1' ] && echo ${pkgs.lib.getExe pkgs.nix-output-monitor} || echo nix)'';
|
||||
in
|
||||
[
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue