all repos — nixfiles @ abe63fead407367d77e93d05e7076be84c7d525c

System and user configuration, managed by nix and home-manager

direnv: fall back to nix-shell instead of flake if lorri not found
Alan Pearce alan@alanpearce.eu
Tue, 21 May 2024 07:31:43 +0200
commit

abe63fead407367d77e93d05e7076be84c7d525c

parent

168d57ddaf842dcb3272a94b70a7cad1d4c67ac9

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M .envrc.envrc
@@ -2,7 +2,7 @@ if type -P lorri &>/dev/null; then   eval "$(lorri direnv)"
 else
   echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]'
-  use flake
+  use nix
 fi
 PATH_add bin
 FLAKE=$PWD