You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what title should be given to this issue but I'm facing a unique (so far) issue. I don't have nixpkgs-fmt installed "system-wide". Instead, with home-manager, I do something like this:
programs.neovim.extraPackages = with pkgs; [
nixpkgs-fmt
# many more pkgs, obviously
];
Mainly because these are only needed for a nice Neovim experience and therefore, I don't want them in my $PATH. As a result, format on save with this config doesn't work for me. Unsurprisingly, !nixpkgs-fmt % works.
Is there a workaround or do I need to have nixpkgs-fmt in $PATH?
The text was updated successfully, but these errors were encountered:
I'm not sure what title should be given to this issue but I'm facing a unique (so far) issue. I don't have
nixpkgs-fmt
installed "system-wide". Instead, with home-manager, I do something like this:Mainly because these are only needed for a nice Neovim experience and therefore, I don't want them in my
$PATH
. As a result, format on save with this config doesn't work for me. Unsurprisingly,!nixpkgs-fmt %
works.Is there a workaround or do I need to have
nixpkgs-fmt
in$PATH
?The text was updated successfully, but these errors were encountered: