about summary refs log tree commit diff
path: root/src/tools/nix-dev-shell/envrc-shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/nix-dev-shell/envrc-shell')
-rw-r--r--src/tools/nix-dev-shell/envrc-shell7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/nix-dev-shell/envrc-shell b/src/tools/nix-dev-shell/envrc-shell
new file mode 100644
index 00000000000..fb7231a6c30
--- /dev/null
+++ b/src/tools/nix-dev-shell/envrc-shell
@@ -0,0 +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
+
+use nix ./src/tools/nix-dev-shell/shell.nix
+