-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
56 lines (53 loc) · 1.33 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
{
description = "gg - git (G)UI";
inputs = {
nixpkgs.url = "github:u-quark/nixpkgs?ref=gg";
static-haskell = {
url = "github:u-quark/static-haskell-nix?ref=gg";
flake = false;
};
libgit2 = {
url = "github:libgit2/libgit2?ref=503b66cf";
flake = false;
};
vty = {
url = "github:u-quark/vty?ref=gg";
flake = false;
};
vty-unix = {
url = "github:u-quark/vty-unix?ref=gg";
flake = false;
};
vty-crossplatform = {
url = "github:jtdaugherty/vty-crossplatform";
flake = false;
};
brick = {
url = "github:jtdaugherty/brick";
flake = false;
};
base16-schemes = {
url = "github:tinted-theming/base16-schemes";
flake = false;
};
hecate = {
url = "github:u-quark/hecate?ref=gg";
flake = false;
};
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
};
outputs = { self, ... }@inputs: rec {
package = import ./nix { inputs = inputs; };
packages.x86_64-linux.gg = package.gg;
packages.x86_64-linux.default = packages.x86_64-linux.gg;
apps.x86_64-linux.gg = {
type = "app";
program = "${package.gg}/bin/gg";
};
apps.x86_64-linux.default = apps.x86_64-linux.gg;
devShells.x86_64-linux.default = package.devShell;
};
}