forked from ucla-pls/jbx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
36 lines (28 loc) · 785 Bytes
/
default.nix
File metadata and controls
36 lines (28 loc) · 785 Bytes
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
let gpkgs = import ./nixpkgs {};
env = import ./environment.nix;
# This project contains some proprietary file not
# distributed with this pkg.
fetchprop = options:
gpkgs.fetchurl (options // {
url = env.ppath + options.url;
});
tools = import ./tools { pkgs = gpkgs; inherit fetchprop; };
# Update the packages with our tools
pkgs = gpkgs // tools;
in {}: rec {
inherit (pkgs) runCommand jre7 jre6 jre5 python;
inherit tools;
benchmarks = import ./benchmarks {
inherit pkgs java;
};
analyses = import ./analyses {
inherit pkgs tools;
};
results = import ./results {
inherit analyses benchmarks env java tools;
inherit (pkgs) lib;
};
java = import ./java {
inherit pkgs;
};
}