3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib/systems
Adam Joseph ba3c562fdc
lib/systems: uname.processor is "uname -m", not "uname -p" (#189958)
The comment in lib/systems/default.nix for uname.processor indicates that it
should match `uname -p`.  I tried that command and found that it reports
`unknown` on all of these machines:

- `x86_64-linux`
- `aarch64-linux`
- `mips64el-linux`
- `powerpc64le-linux`

The command `uname -m` reports the expected value on all of the above.

I think the comment is wrong.  So I fixed it.
2022-09-06 10:17:09 -05:00
..
architectures.nix
default.nix lib/systems: uname.processor is "uname -m", not "uname -p" (#189958) 2022-09-06 10:17:09 -05:00
doubles.nix lib/systems/doubles: add ELFvx GNU ABIs 2022-08-28 21:46:44 +02:00
examples.nix lib/systems/examples: use provided ABIs in PPC64 triple 2022-08-28 21:46:44 +02:00
flake-systems.nix lib.systems: remove supported, replace with flakeExposed 2022-05-23 15:27:30 +02:00
inspect.nix lib/systems: add convenience isAbiElfv2 function 2022-08-28 21:46:44 +02:00
parse.nix lib/systems/parse: use ELFv2 by default for PPC64 BE 2022-08-28 21:46:44 +02:00
platforms.nix Merge #170736: lib/systems/platforms.nix: fix mips32 ABI 2022-07-27 19:53:38 +02:00