Closed kamadorueda closed 2 years ago
Oh sorry, my bad, after it downloaded the dependencies it failed as expected:
error: a 'x86_64-darwin' with features {} is required to build '/nix/store/x573smggyanla81fld67krynnanyl8rq-pytest-hook.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
Awesome! Sorry for the noise again
On NixOS x86_64-linux is very easy to simulate you are an aarch64-linux (just enable binfmt and pass --system to nix), which means you can both evaluate and build for the specified --system
nixpkgs-review honors this --system aarch64-linux flag when evaluating:
But does not honor the --system aarch64-linux when building, which means it will build for x86_64-linux (my native arch):
It would be awesome to honor the flag when building, since that would allow linux users to review PRs for many architechtures just by changing the flag