-
Notifications
You must be signed in to change notification settings - Fork 332
Expand file tree
/
Copy pathflake.nix
More file actions
111 lines (96 loc) · 2.76 KB
/
flake.nix
File metadata and controls
111 lines (96 loc) · 2.76 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
description = "A very basic flake";
inputs = {
self.submodules = true;
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11";
nixpkgs_24_11.url = "github:nixos/nixpkgs?ref=nixos-24.11";
flake-utils.url = "github:numtide/flake-utils";
tom-bombadil = {
url = "github:wireapp/tom-bombadil";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
bloodhound = {
url = "github:wireapp/bloodhound?ref=wire-fork";
flake = false;
};
hedis = {
url = "github:wireapp/hedis?ref=wire-changes";
flake = false;
};
http-client = {
url = "github:wireapp/http-client?ref=master";
flake = false;
};
hspec-wai = {
url = "github:wireapp/hspec-wai?ref=body-contains";
flake = false;
};
cql = {
url = "github:wireapp/cql?ref=develop";
flake = false;
};
cql-io = {
url = "github:wireapp/cql-io?ref=control-conn";
flake = false;
};
wai-predicates = {
url = "github:wireapp/wai-predicates?ref=develop";
flake = false;
};
tasty = {
url = "github:wireapp/tasty?ref=mangoiv/full-stacktrace-rebased";
flake = false;
};
servant-openapi3 = {
url = "github:wireapp/servant-openapi3?ref=required-request-bodies";
flake = false;
};
postie = {
url = "github:alexbiehl/postie?ref=master";
flake = false;
};
tinylog = {
url = "github:wireapp/tinylog?ref=wire-fork";
flake = false;
};
tasty-ant-xml = {
url = "github:wireapp/tasty-ant-xml?ref=drop-console-formatting_rebased";
flake = false;
};
text-icu-translit = {
url = "github:wireapp/text-icu-translit?ref=master";
flake = false;
};
amazonka = {
url = "github:brendanhay/amazonka?rev=a7d699be1076e2aad05a1930ca3937ffea954ad8";
flake = false;
};
};
outputs = inputs@{ nixpkgs, nixpkgs_24_11, flake-utils, tom-bombadil, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [
(import ./nix/overlay.nix)
(import ./nix/overlay-docs.nix)
];
};
pkgs_24_11 = import nixpkgs_24_11 {
inherit system;
};
bomDependenciesDrv = tom-bombadil.lib.${system}.bomDependenciesDrv;
wireServerPkgs = import ./nix { inherit pkgs pkgs_24_11 inputs bomDependenciesDrv; };
in
{
# profileEnv wireServer docs docsEnv mls-test-cli nginz;
packages = {
inherit (wireServerPkgs) pkgs profileEnv wireServer docs docsEnv mls-test-cli nginz;
};
devShells = {
default = wireServerPkgs.wireServer.devEnv;
};
}
);
}