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
This commit is contained in:
Ethan Brierley 2023-08-22 22:50:21 +01:00 committed by GitHub
parent 8fd4dd12ed
commit 24c8e8cf88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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"