This is probably wrong. host_machine.system() is expected to have e.g. 'linux' in other places.
I don't know how to get the right value, reliably, and we've defined it to be based on autoconf, which I don't think we want to continue doing, or do we? Alternatively, we could leave it to the packager, and pass stdenv.hostPlatform.system in our own packaging?
_Originally posted in https://github.com/NixOS/nix/pull/10908#discussion_r1653469080_
This is probably wrong.
host_machine.system()
is expected to have e.g.'linux'
in other places.I don't know how to get the right value, reliably, and we've defined it to be based on autoconf, which I don't think we want to continue doing, or do we? Alternatively, we could leave it to the packager, and pass
stdenv.hostPlatform.system
in our own packaging?