about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorEthan Brierley <ethanboxx@gmail.com>2023-08-22 22:50:21 +0100
committerGitHub <noreply@github.com>2023-08-22 17:50:21 -0400
commit420418db90395da5d55bedf28fac7a418d9e79be (patch)
tree16f26bd8faa0bbe64bc9a1859fe3e7bee2ef4393 /src/doc
parentd911607b5ff162770ba2d3f6ff676bb970a369ec (diff)
downloadrust-420418db90395da5d55bedf28fac7a418d9e79be.tar.gz
rust-420418db90395da5d55bedf28fac7a418d9e79be.zip
Suggest enabling patch-binaries-for-nix in `shell.nix` (#1774)
Bootstraps nix detection isn't always perfect:
- https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Bootstrapping.20on.20NixOS
- https://github.com/rust-lang/rust/issues/115073
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/building/suggested.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md
index 560062b9337..d1ef67e4249 100644
--- a/src/doc/rustc-dev-guide/src/building/suggested.md
+++ b/src/doc/rustc-dev-guide/src/building/suggested.md
@@ -282,6 +282,7 @@ let
     changelog-seen = 2
 
     [build]
+    patch-binaries-for-nix = true
     # The path to (or name of) the GDB executable to use. This is only used for
     # executing the debuginfo test suite.
     gdb = "${pkgs.gdb}/bin/gdb"