Nix on ARM: Difference between revisions

imported>DavHau
No edit summary
imported>DavHau
No edit summary
Line 1: Line 1:
A prebuilt nix installer for armv7l, including instruction on how to build it yourself via docker, can be found here: [https://github.com/DavHau/nix-on-armv7l github.com/DavHau/nix-on-armv7l]
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]


For some more info on, for example, binary caches, check also: https://nixos.wiki/wiki/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].
 
==aarch64==
Since aarch64 is officially supported, nix can be installed the official way
<code>curl -L https://nixos.org/nix/install | sh</code>
For more information see: [https://nixos.org/download.html Getting Nix]
 
== 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


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.