nixos-rebuild: support prebuilt Nix on aarch64
We have a fallback hashes entry for aarch64-linux, but it was unused by nixos-rebuild.
This commit is contained in:
parent
b08e223a04
commit
341836ced2
2 changed files with 3 additions and 0 deletions
|
@ -18,5 +18,6 @@ substituteAll {
|
|||
inherit runtimeShell nix;
|
||||
nix_x86_64_linux = fallback.x86_64-linux;
|
||||
nix_i686_linux = fallback.i686-linux;
|
||||
nix_aarch64_linux = fallback.aarch64-linux;
|
||||
path = lib.makeBinPath [ coreutils jq gnused gnugrep ];
|
||||
}
|
||||
|
|
|
@ -386,6 +386,8 @@ prebuiltNix() {
|
|||
echo @nix_x86_64_linux@
|
||||
elif [[ "$machine" =~ i.86 ]]; then
|
||||
echo @nix_i686_linux@
|
||||
elif [[ "$machine" = aarch64 ]]; then
|
||||
echo @nix_aarch64_linux@
|
||||
else
|
||||
echo "$0: unsupported platform"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue