WK2OO4YYGVZKCIVSA43GW3WDUQ4UEUHF2GGY4WNWOZYISPFYWMDAC
, If we take a look at what the flake provides:
, Now we can call a different output:
x nix build "${dir}#cross-riscv64"
, And this is indeed a RISC-V binary:
x "${file_cmd}" ./result/bin/wttr-delft
h Emulation
, If we take a look at what the flake provides we see multiple architectures as well:
h The previous build was for x86_64-linux by default because that is our current system:
x "${file_cmd}" ./result/bin/wttr-delft
n This will not work if the emulation is not available:
, But, if you use NixOS it\'s also very simple to set up binfmt to emulate e.g. aarch64-linux!