diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2025-01-29 15:17:17 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2025-01-29 15:17:28 -0500 |
commit | a31b6c8270e141f09f56d52e5f11c80880573d25 (patch) | |
tree | 3deccb2f7a214b46b7225d39af6a079fef5671fb /.envrc | |
parent | nix flake check (diff) |
- 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-- | .envrc | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -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 |