forked from dhall-lang/dhall-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.nix
104 lines (83 loc) · 2.95 KB
/
release.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
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
let pinned = import ./nix/pinnedNixpkgs.nix;
in { src ? { rev = ""; }
, nixpkgs ? pinned.nixpkgs
}:
let
callShared = args: import ./nix/shared.nix ({ inherit nixpkgs; } // args);
shared_8_6_1 = callShared { compiler = "ghc861"; };
# We can re-enable this once https://github.com/NixOS/nixpkgs/issues/133271
# is fixed and Nixpkgs is upgraded to a version that incorporates GHCJS
# shared_ghcjs = callShared { compiler = "ghcjs"; };
shared = callShared { };
shared_linux = callShared { system = "x86_64-linux"; };
coverage = callShared { coverage = true; };
in
{ dhall = shared.aggregate
{ name = "dhall";
constituents = [
# shared_ghcjs.dhall-try
shared.tarball-dhall
shared.tarball-dhall-bash
shared.tarball-dhall-csv
shared.tarball-dhall-docs
shared.tarball-dhall-json
shared.tarball-dhall-lsp-server
shared.tarball-dhall-nix
shared.tarball-dhall-nixpkgs
shared.tarball-dhall-openapi
shared.tarball-dhall-toml
shared.tarball-dhall-yaml
# These are the only `dhall` builds that run the test suite in CI
coverage.dhall
coverage.dhall-json
coverage.dhall-yaml
# Check that the package builds with HTTP support compiled out
shared.dhall-no-http
shared.prelude-dhall-docs
shared.test-dhall-docs
shared.kubernetes-dhall-docs
(shared.trivial src.rev)
];
};
"coverage-dhall" = coverage.dhall;
inherit (shared)
tarball-dhall
tarball-dhall-bash
tarball-dhall-csv
tarball-dhall-docs
tarball-dhall-json
tarball-dhall-lsp-server
tarball-dhall-nix
tarball-dhall-nixpkgs
tarball-dhall-openapi
tarball-dhall-toml
tarball-dhall-yaml
prelude-dhall-docs
test-dhall-docs
kubernetes-dhall-docs
;
linux-dhall = shared_linux.dhall;
linux-dhall-bash = shared_linux.possibly-static.dhall-bash;
linux-dhall-csv = shared_linux.possibly-static.dhall-csv;
linux-dhall-docs = shared_linux.possibly-static.dhall-docs;
linux-dhall-json = shared_linux.possibly-static.dhall-json;
linux-dhall-lsp-server = shared_linux.possibly-static.dhall-lsp-server;
linux-dhall-nix = shared_linux.possibly-static.dhall-nix;
linux-dhall-nixpkgs = shared_linux.possibly-static.dhall-nixpkgs;
linux-dhall-openapi = shared_linux.possibly-static.dhall-openapi;
linux-dhall-toml = shared_linux.possibly-static.dhall-toml;
linux-dhall-yaml = shared_linux.possibly-static.dhall-yaml;
inherit (shared_linux)
image-dhall
image-dhall-bash
image-dhall-csv
image-dhall-docs
image-dhall-json
image-dhall-lsp-server
image-dhall-nix
image-dhall-nixpkgs
image-dhall-openapi
image-dhall-toml
image-dhall-yaml
;
}