From 4cfa8eb8b26d7b0138a1e7592fab263da759f2d7 Mon Sep 17 00:00:00 2001 From: guangtao Date: Tue, 8 Aug 2023 16:32:41 -0700 Subject: [PATCH] refacotr: make registry to an option --- lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib b/lib index be8f387..fbe0a99 100644 --- a/lib +++ b/lib @@ -28,7 +28,7 @@ export DIRENV_LOG_FORMAT=$'\E[mdirenv: \E[38;5;8m%s\E[m' { # Paisano Block - registry="git+file://$PRJ_ROOT#__std" + registry="git+file://${registry:-"$PRJ_ROOT#__std"}" nix=("nix") nix_eval_args=( "--no-update-lock-file"