From 65f459e83643e17604d0ffdeb032d64b7b3fd68a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 14 Sep 2024 01:48:16 -0700 Subject: chore(nix): use lorri --- .envrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.envrc b/.envrc index a5dbbcb..df422cf 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,9 @@ -use flake . +#!/usr/bin/env bash + +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 nix +fi -- cgit v1.2.3