mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
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/`)
This commit is contained in:
parent
5f99e96fbb
commit
6058cdcccc
@ -1,7 +1,7 @@
|
||||
# If you want to use this as an .envrc file to create a shell with necessery components
|
||||
# to develop rustc, use the following command in the root of the rusr checkout:
|
||||
#
|
||||
# ln -s ./src/tools/nix-dev-shell/envrc-flake ./.envrc && nix flake update --flake ./src/tools/nix-dev-shell && echo .envrc >> .git/info/exclude
|
||||
# ln -s ./src/tools/nix-dev-shell/envrc-flake ./.envrc && nix flake update --flake ./src/tools/nix-dev-shell
|
||||
|
||||
if nix flake show path:./src/tools/nix-dev-shell &> /dev/null; then
|
||||
use flake path:./src/tools/nix-dev-shell
|
||||
|
@ -1,7 +1,7 @@
|
||||
# If you want to use this as an .envrc file to create a shell with necessery components
|
||||
# to develop rustc, use the following command in the root of the rusr checkout:
|
||||
#
|
||||
# ln -s ./src/tools/nix-dev-shell/envrc-shell ./.envrc && echo .envrc >> .git/info/exclude
|
||||
# ln -s ./src/tools/nix-dev-shell/envrc-shell ./.envrc
|
||||
|
||||
use nix ./src/tools/nix-dev-shell/shell.nix
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user