Skip to content

Commit 6058cdc

Browse files
committed
remove instructions to git exclude files in src/nix-dev-shell/envrc-*
this is no longer needed as `.gitignore` contains both `/.envrc` and `flake.lock` (and also `/.direnv/`)
1 parent 5f99e96 commit 6058cdc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/tools/nix-dev-shell/envrc-flake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# If you want to use this as an .envrc file to create a shell with necessery components
22
# to develop rustc, use the following command in the root of the rusr checkout:
33
#
4-
# ln -s ./src/tools/nix-dev-shell/envrc-flake ./.envrc && nix flake update --flake ./src/tools/nix-dev-shell && echo .envrc >> .git/info/exclude
4+
# ln -s ./src/tools/nix-dev-shell/envrc-flake ./.envrc && nix flake update --flake ./src/tools/nix-dev-shell
55

66
if nix flake show path:./src/tools/nix-dev-shell &> /dev/null; then
77
use flake path:./src/tools/nix-dev-shell

Diff for: src/tools/nix-dev-shell/envrc-shell

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# If you want to use this as an .envrc file to create a shell with necessery components
22
# to develop rustc, use the following command in the root of the rusr checkout:
33
#
4-
# ln -s ./src/tools/nix-dev-shell/envrc-shell ./.envrc && echo .envrc >> .git/info/exclude
4+
# ln -s ./src/tools/nix-dev-shell/envrc-shell ./.envrc
55

66
use nix ./src/tools/nix-dev-shell/shell.nix
77

0 commit comments

Comments
 (0)