mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 00:06:26 -04:00
fix for issue with host platform determination
cross compilation tutorial.
This commit is contained in:
parent
6a7d821003
commit
35909232d3
|
@ -49,8 +49,8 @@ The build platform is determined automatically by Nix during the configure phase
|
|||
The host platform is best determined by running this command on the host platform:
|
||||
|
||||
```shell-session
|
||||
$ gnu-config=$(nix-build '<nixpkgs>' -I nixpkgs=channel:nixos-22.11 -A gnu-config)
|
||||
$ "$gnu-config"/config.guess
|
||||
$ mygnuconfig=$(nix-build '<nixpkgs>' -I nixpkgs=channel:nixos-22.11 -A gnu-config)
|
||||
$ "$mygnuconfig"/config.guess
|
||||
aarch64-unknown-linux-gnu
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue