-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
37 lines (32 loc) · 1.24 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
description = "Tikan -- Fog of War Chess";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
devshell.url = "github:numtide/devshell";
noir.url = "github:noir-lang/noir/3f676051a6073d6eabdc7fee68e4b522334344f6";
# noir.url = "github:noir-lang/noir/cb4c1c5264b95d01f69d99f916ced71ad9cdc9d1";
# noir.url = "github:tsujp/noir/0cf043d81e2da7c4b23c4b18e0c3a944dd7ea017";
# noir.url = "github:tsujp/noir/5be9f9d7e2f39ca228df10e5a530474af0331704";
};
outputs = inputs@{ self, nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.devshell.flakeModule
];
systems = [
"aarch64-linux"
"aarch64-darwin"
"x86_64-linux"
"x86_64-darwin"
];
perSystem = { pkgs, ... }: rec {
packages.noir = inputs.noir.packages;
devshells.default = {
packages = with pkgs; [
bun
] ++ [ packages.noir.${system}.nargo ];
};
};
};
}