1
0
Fork 0
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:
Henrik Karlsson 2024-01-05 21:55:58 +00:00
parent 6a7d821003
commit 35909232d3

View file

@ -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: The host platform is best determined by running this command on the host platform:
```shell-session ```shell-session
$ gnu-config=$(nix-build '<nixpkgs>' -I nixpkgs=channel:nixos-22.11 -A gnu-config) $ mygnuconfig=$(nix-build '<nixpkgs>' -I nixpkgs=channel:nixos-22.11 -A gnu-config)
$ "$gnu-config"/config.guess $ "$mygnuconfig"/config.guess
aarch64-unknown-linux-gnu aarch64-unknown-linux-gnu
``` ```