nix-community / nix-direnv

A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
MIT License
1.78k stars 101 forks source link

nix-direnv now requires direnv on $PATH #446

Closed accelbread closed 9 months ago

accelbread commented 9 months ago

Previously nix-direnv worked just fine without direnv on $PATH. I have my editor configured to run direnv from an absolute path set by my Nix configuration.

Since updating, nix-direnv now errors with nix-direnv: command not found: direnv.

From looking at the source, this seems to be due to the version check.