Skip to content

Commit cf8c740

Browse files
authored
Merge pull request #321 from numtide/riscv64-support
add riscv64 support
2 parents 1ebbe68 + 756f58b commit cf8c740

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

flake.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
66
inputs.flake-utils.url = "github:numtide/flake-utils";
77

8-
outputs = inputs: inputs.flake-utils.lib.eachDefaultSystem
8+
outputs = inputs: inputs.flake-utils.lib.eachSystem [
9+
"x86_64-linux"
10+
"aarch64-linux"
11+
"riscv64-linux"
12+
"x86_64-darwin"
13+
"aarch64-darwin"
14+
]
915
(system:
1016
let
1117
pkgs = inputs.nixpkgs.legacyPackages.${system};

tests/extra/language.hare.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
pkgs,
33
devshell,
44
runTest,
5-
}: {
5+
}:
6+
pkgs.lib.optionalAttrs (!pkgs.hostPlatform.isDarwin) {
67
# Basic test
78
language-hare-1 = let
89
shell = devshell.mkShell {

0 commit comments

Comments
 (0)