.envrc: Replace .envrc with .envrc.sample

The `.envrc` file acts as a personal setup file, and should not be checked in.

The team provides `.envrc.sample` where contributors can choose to:

    echo 'source_env .envrc.sample' >> .envrc

To bootstrap their own `.envrc` file.
This commit is contained in:
Richard Levitte
2026-04-23 08:56:48 +01:00
committed by Fintan Halpenny
parent bdd991a5f1
commit 8af0b623fe
3 changed files with 6 additions and 3 deletions
-3
View File
@@ -1,3 +0,0 @@
watch_file rust-toolchain.toml
use flake
+5
View File
@@ -0,0 +1,5 @@
# Developers that want to use this can add 'source_env .envrc.sample' in their .envrc
if has nix; then
watch_file rust-toolchain.toml
use flake
fi
+1
View File
@@ -3,5 +3,6 @@
/build/artifacts
/build/*.tar.gz
/.pre-commit-config.yaml
/.envrc
/.direnv/
/result