forked from dfinity/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
36 lines (28 loc) · 1.11 KB
/
default.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
{ system ? builtins.currentSystem
, pkgs ? import ./nix { inherit system isMaster labels; }
, src ? builtins.fetchGit ./.
, releaseVersion ? "latest"
, RustSec-advisory-db ? pkgs.sources.advisory-db
, isMaster ? true
, labels ? {}
}:
rec {
dfx = import ./dfx.nix { inherit pkgs assets; };
e2e-tests = import ./e2e { inherit pkgs dfx system; };
e2e-tests-ic-ref = import ./e2e { inherit pkgs dfx system; use_ic_ref = true; };
check-binaries = import ./check-binaries.nix { inherit pkgs; };
assets = import ./assets.nix { inherit pkgs distributed-canisters; };
distributed-canisters = import ./distributed-canisters.nix { inherit pkgs; };
inherit (pkgs) nix-fmt nix-fmt-check;
install = import ./public { inherit pkgs src; };
# This is to make sure CI evaluates shell derivations, builds their
# dependencies and populates the hydra cache with them. We also use this in
# `shell.nix` in the root to provide an environment which is the composition
# of all the shells here.
shells = {
rust-workspace = dfx.shell;
};
licenses = {
dfx = pkgs.lib.runtime.runtimeLicensesReport dfx.build;
};
}