-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
60 lines (60 loc) · 2.61 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
description = "Piling up my flakes";
inputs = {
alacritty-head.url = "github:shnarazk/flakes?dir=alacritty-head";
# bqnlsp.url = github:shnarazk/bqnlsp/20230507-flake;
# bqnlsp.url = sourcehut:~detegr/bqnlsp;
# cargo-instruments.url = github:shnarazk/flakes?dir=cargo-instruments;
# cbqn-head.url = github:shnarazk/flakes?dir=cbqn-head;
# emacs-head.url = github:shnarazk/flakes?dir=emacs-head;
# fukuoka-c19.url = github:shnarazk/fukuoka-c19.rs;
# gex-head.url = github:shnarazk/flakes?dir=gex-head;
gratchk.url = "github:shnarazk/flakes?dir=gratchk";
gratgen.url = "github:shnarazk/flakes?dir=gratgen";
sat-bench.url = "github:shnarazk/SAT-bench";
rust-parallel.url = "github:shnarazk/flakes?dir=rust-parallel";
splr.url = "github:shnarazk/splr";
tree-sitter-cli.url = "github:shnarazk/flakes?dir=tree-sitter-cli";
zellij-head.url = "github:shnarazk/flakes?dir=zellij-head";
};
outputs = inputs: {
packages = builtins.listToAttrs (
map
(system: {
name = system;
value =
{
alacritty-head = inputs.alacritty-head.packages.${system}.default;
# bqnlsp = inputs.bqnlsp.packages.${system}.default;
# cbqn-head = inputs.cbqn-head.packages.${system}.default;
# emacs-head = inputs.emacs-head.packages.${system}.default;
# fukuoka-c19 = inputs.fukuoka-c19.packages.${system}.default;
# gex-head = inputs.gex-head.packages.${system}.default;
gratgen = inputs.gratgen.packages.${system}.default;
sat-bench = inputs.sat-bench.packages.${system}.default;
rust-parallel = inputs.rust-parallel.packages.${system}.default;
splr = inputs.splr.packages.${system}.default;
tree-sitter-cli = inputs.tree-sitter-cli.packages.${system}.default;
zellij-head = inputs.zellij-head.packages.${system}.default;
}
// (
if system == "x86_64-darwin" || system == "x86_64-linux" then
{ gratchk = inputs.gratchk.packages.${system}.default; }
else
{ }
)
# // (if system == "x86_64-darwin" || system == "aarch64-darwin" then {
# cargo-instruments = inputs.cargo-instruments.packages.${system}.default;
# } else {
# })
;
})
[
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
]
);
};
}