Nix on ARM: Difference between revisions

imported>Jtojnar
avoid deprecated github:NixOS/nixpkgs-channels
m Reverted edit by Klinger (talk) to last revision by Mic92
Tag: Rollback
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This wiki section concerns the nix package manager tool only. Information about Arm based NixOS systems can be found here: [https://nixos.wiki/wiki/NixOS_on_ARM NixOS_on_ARM]
This wiki section concerns the nix package manager tool only. Information about Arm based NixOS systems can be found here: [[NixOS_on_ARM]]


Both aarch64 and armv7l are tested and working. Though, aarch64 is the only arm architecture which is officially supported and has binary packages available from the official nixos cache. Therefore it is highly recommended to use the aarch64 version of nix if your platform and OS support it. For example on Raspberry OS, aarch64 support [https://www.raspberrypi.org/forums/viewtopic.php?t=250730 can be enabled easily].
Both aarch64 and armv7l are tested and working. Though, aarch64 is the only arm architecture which is officially supported and has binary packages available from the official nixos cache. Therefore it is highly recommended to use the aarch64 version of nix if your platform and OS support it. For example on Raspberry OS, aarch64 support [https://www.raspberrypi.org/forums/viewtopic.php?t=250730 can be enabled easily].
Line 11: Line 11:
A prebuilt nix installer for armv7l, including instruction on how to build it yourself using docker, can be found here: [https://github.com/DavHau/nix-on-armv7l github.com/DavHau/nix-on-armv7l]
A prebuilt nix installer for armv7l, including instruction on how to build it yourself using docker, can be found here: [https://github.com/DavHau/nix-on-armv7l github.com/DavHau/nix-on-armv7l]


For some more information on, for example, community maintained binary caches, check also: https://nixos.wiki/wiki/NixOS_on_ARM
For some more information on, for example, community maintained binary caches, check also: [[NixOS_on_ARM]]


In case this helps anyone - by modifying Nix's `release.nix` you can make your own ARMv7 installer.
In case this helps anyone - by modifying Nix's `release.nix` you can make your own ARMv7 installer.