NixOS on ARM: Difference between revisions

imported>Samueldr
m Oops, got my pinebooks mixed up
imported>Benley
update 19.03 -> 19.09 references (and one 18.03 historical note)
Line 247: Line 247:
=== Getting the installer ===
=== Getting the installer ===


For aarch64 it is possible to download images from Hydra ([https://hydra.nixos.org/job/nixos/release-19.03/nixos.sd_image.aarch64-linux 19.03]) and ([https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux unstable]). On the page click on the latest successful built to get a download link under build products.
For aarch64 it is possible to download images from Hydra ([https://hydra.nixos.org/job/nixos/release-19.09/nixos.sd_image.aarch64-linux 19.09]) and ([https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux unstable]). On the page click on the latest successful built to get a download link under build products.


The most current installation images and miscellaneous boot files for ARMv6 and ARMv7 devices are currently built maintained and hosted by '''@dezgeg''' at http://nixos-arm.dezgeg.me/installer. '''Warning: Due to a [https://github.com/NixOS/nix/issues/2393 bug] in the version of nix supplied with these images, upgrading (e.g. via <code>nixos-rebuild switch --upgrade</code> will not work. See [https://github.com/NixOS/nixpkgs/issues/51798 here] for details, and a workaround [https://github.com/qolii/nixpkgs/releases/tag/sd-image-ARMv7-68aad73 replacement image] for armv7l'''. Generic usage is described in this page, and board-specific instructions when needed are described on their page.
The most current installation images and miscellaneous boot files for ARMv6 and ARMv7 devices are currently built maintained and hosted by '''@dezgeg''' at http://nixos-arm.dezgeg.me/installer. '''Warning: Due to a [https://github.com/NixOS/nix/issues/2393 bug] in the version of nix supplied with these images, upgrading (e.g. via <code>nixos-rebuild switch --upgrade</code> will not work. See [https://github.com/NixOS/nixpkgs/issues/51798 here] for details, and a workaround [https://github.com/qolii/nixpkgs/releases/tag/sd-image-ARMv7-68aad73 replacement image] for armv7l'''. Generic usage is described in this page, and board-specific instructions when needed are described on their page.
Line 270: Line 270:
=== AArch64 ===
=== AArch64 ===


Thanks to [https://github.com/grahamc @grahamc] and [https://www.packet.com/ Packet], the [https://hydra.nixos.org/ official NixOS Hydra] builds a full set of binaries (available on https://cache.nixos.org) for the AArch64 architecture on the nixpkgs-unstable channel. Starting with the 18.03 release  [https://hydra.nixos.org/jobset/nixos/release-19.03 the official Hydra instance will also build the stable channel] .
Thanks to [https://github.com/grahamc @grahamc] and [https://www.packet.com/ Packet], the [https://hydra.nixos.org/ official NixOS Hydra] builds a full set of binaries (available on https://cache.nixos.org) for the AArch64 architecture on the nixpkgs-unstable channel. Starting with the 18.03 release  [https://hydra.nixos.org/jobset/nixos/release-18.03 the official Hydra instance will also build the stable channel] .