From 7c4e4249e77cb686ca8dabd0d460797900cd82b0 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Sat, 18 Oct 2025 23:10:53 +0800 Subject: [PATCH] chore: Add condition to import flake env --- .envrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.envrc b/.envrc index 29e16c1..d5eacd8 100644 --- a/.envrc +++ b/.envrc @@ -1,3 +1,5 @@ watch_file ./flake.lock **/*.nix -use flake +if has nix; then + use flake +fi