mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
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" ``` |
||
---|---|---|
.. | ||
doc | ||
lib | ||
maintainers | ||
modules | ||
tests | ||
COPYING | ||
default.nix | ||
README | ||
release-combined.nix | ||
release-small.nix | ||
release.nix |
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at http://nixos.org/nixos and in the manual in doc/manual.