From 0cf6be68edccc8501991d768cc9b939982d78194 Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Thu, 18 Aug 2022 11:06:30 -0700 Subject: [PATCH] Update Nix derivation to build against 22.05 and LLVM 11 (#601) Also enable AArch64. --- .github/workflows/main.yml | 2 +- default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eef801f8..c35ce050 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -366,7 +366,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - nixpkgs: ['unstable', '21.05'] + nixpkgs: ['unstable', '22.05'] cuda: ['false', 'true'] steps: - uses: actions/checkout@v2.3.4 diff --git a/default.nix b/default.nix index ead0f7f0..87f31882 100644 --- a/default.nix +++ b/default.nix @@ -5,7 +5,7 @@ let - llvmPackages = pkgs.llvmPackages_10; + llvmPackages = pkgs.llvmPackages_11; stdenv = llvmPackages.stdenv; cuda = if cudaPackages ? cudatoolkit_11 then [ cudaPackages.cudatoolkit_11 @@ -91,7 +91,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "A low-level counterpart to Lua"; homepage = "http://terralang.org/"; - platforms = platforms.x86_64; + platforms = platforms.x86_64 ++ platforms.aarch64; maintainers = with maintainers; [ jb55 thoughtpolice ]; license = licenses.mit; };