aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2025-01-29 15:17:17 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2025-01-29 15:17:28 -0500
commita31b6c8270e141f09f56d52e5f11c80880573d25 (patch)
tree3deccb2f7a214b46b7225d39af6a079fef5671fb /.envrc
parentnix flake check (diff)
sisu nix package/config updates, ruby on nix currentHEADupstream
- current is at ruby 3.3.6 - next is at ruby 3.4.1 - much tidying required - markup unaffected
Diffstat (limited to '.envrc')
-rw-r--r--.envrc15
1 files changed, 5 insertions, 10 deletions
diff --git a/.envrc b/.envrc
index 3c33408..e0f4a75 100644
--- a/.envrc
+++ b/.envrc
@@ -1,16 +1,11 @@
-use flake .
-#use flake .#default
-NIX_ENFORCE_PURITY=1
-NixDirEnvVersion="2.2.1"
-if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then
-# - https://github.com/nix-community/nix-direnv
-# source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-0000000000000000000000000000000000000000000="
- source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
+if [ -f .envrc-git-init ]; then
+ source_env_if_exists .envrc-git-init || source .envrc-git-init
fi
-watch_file flake.lock
-watch_file flake.nix
if [ -f .envrc-local ]; then
source_env_if_exists .envrc-local || source .envrc-local
fi
+if [ -f .envrc-nix ]; then
+ source_env_if_exists .envrc-nix || source .envrc-nix
+fi
PATH_add result/bin
#nix flake update && nix flake check --show-trace && nix flake show