add riscv64 support

This commit is contained in:
Jörg Thalheim 2024-07-25 11:37:11 +02:00
parent 31b6d2e40b
commit 53eb7cde5b

View file

@ -16,9 +16,15 @@
}; };
defaultTemplate = self.templates.app; defaultTemplate = self.templates.app;
} // }
(flake-utils.lib.eachDefaultSystem // (flake-utils.lib.eachSystem
(system: [
"x86_64-linux"
"aarch64-linux"
"riscv64-linux"
]
(
system:
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
@ -44,6 +50,7 @@
devShells.default = callPackage ./shell.nix { devShells.default = callPackage ./shell.nix {
inherit mkGoEnv gomod2nix; inherit mkGoEnv gomod2nix;
}; };
}) }
)
); );
} }