diff options
author | Graham Christensen <graham@grahamc.com> | 2017-12-08T00·02-0500 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2017-12-08T00·02-0500 |
commit | fbab9ed01e603d5af310f4d9b95e86e29c587f43 (patch) | |
tree | 9bc8913e605e462b5bcd2286f2f895b041b3189e /maintainers | |
parent | e3013543d36926ecfe51e9eceab42c88cb40b138 (diff) |
upload-release.pl: support aarch64-linux
Diffstat (limited to 'maintainers')
-rwxr-xr-x | maintainers/upload-release.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/maintainers/upload-release.pl b/maintainers/upload-release.pl index 743829e3f5f3..313ff93d4c86 100755 --- a/maintainers/upload-release.pl +++ b/maintainers/upload-release.pl @@ -83,6 +83,7 @@ downloadFile("tarball", "3"); # .tar.bz2 my ($tarball, $tarballHash) = downloadFile("tarball", "4"); # .tar.xz my ($tarball_i686_linux, $tarball_i686_linux_hash) = downloadFile("binaryTarball.i686-linux", "1"); my ($tarball_x86_64_linux, $tarball_x86_64_linux_hash) = downloadFile("binaryTarball.x86_64-linux", "1"); +my ($tarball_aarch64_linux, $tarball_aarch64_linux_hash) = downloadFile("binaryTarball.aarch64-linux", "1"); my ($tarball_x86_64_darwin, $tarball_x86_64_darwin_hash) = downloadFile("binaryTarball.x86_64-darwin", "1"); # Update Nixpkgs in a very hacky way. @@ -111,6 +112,7 @@ write_file("$nixpkgsDir/nixos/modules/installer/tools/nix-fallback-paths.nix", "{\n" . " x86_64-linux = \"" . getStorePath("build.x86_64-linux") . "\";\n" . " i686-linux = \"" . getStorePath("build.i686-linux") . "\";\n" . + " aarch64-linux = \"" . getStorePath("build.aarch64-linux") . "\";\n" . " x86_64-darwin = \"" . getStorePath("build.x86_64-darwin") . "\";\n" . "}\n"); @@ -144,6 +146,7 @@ write_file("$siteDir/nix-release.tt", "latestNixVersion = \"$version\"\n" . "nix_hash_i686_linux = \"$tarball_i686_linux_hash\"\n" . "nix_hash_x86_64_linux = \"$tarball_x86_64_linux_hash\"\n" . + "nix_hash_aarch64_linux = \"$tarball_aarch64_linux_hash\"\n" . "nix_hash_x86_64_darwin = \"$tarball_x86_64_darwin_hash\"\n" . "-%]\n"); |