From 53eb7cde5b716e73b04db351fc937cc6c38bf8dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 25 Jul 2024 11:37:11 +0200 Subject: [PATCH] add riscv64 support --- flake.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 265dd7d..4587aaf 100644 --- a/flake.nix +++ b/flake.nix @@ -16,9 +16,15 @@ }; defaultTemplate = self.templates.app; - } // - (flake-utils.lib.eachDefaultSystem - (system: + } + // (flake-utils.lib.eachSystem + [ + "x86_64-linux" + "aarch64-linux" + "riscv64-linux" + ] + ( + system: let pkgs = nixpkgs.legacyPackages.${system}; @@ -44,6 +50,7 @@ devShells.default = callPackage ./shell.nix { inherit mkGoEnv gomod2nix; }; - }) + } + ) ); }