df8c30fa25
we use stdenv.hostPlatform.uname.processor, which I believe is just like `uname -p`. Example values: ``` (import <nixpkgs> { system = "x86_64-linux"; }).stdenv.hostPlatform.uname.processor "x86_64" (import <nixpkgs> { system = "aarch64-linux"; }).stdenv.hostPlatform.uname.processor aarch64 (import <nixpkgs> { system = "armv7l-linux"; }).stdenv.hostPlatform.uname.processor "armv7l" ``` |
||
---|---|---|
.. | ||
config | ||
hardware | ||
i18n/input-method | ||
installer | ||
misc | ||
profiles | ||
programs | ||
security | ||
services | ||
system | ||
tasks | ||
testing | ||
virtualisation | ||
module-list.nix | ||
rename.nix |