-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault.nix
50 lines (46 loc) · 1.84 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ pkgs, root }:
hself: hsuper:
let HROOT-src = (pkgs.callPackage ./gen.nix { }) hself;
in rec {
"HROOT-generate" = hself.callCabal2nix "HROOT-generate" ./HROOT-generate { };
"HROOT" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT" (HROOT-src + "/HROOT") { }) {
librarySystemDepends = [ root ];
};
"HROOT-core" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT-core" (HROOT-src + "/HROOT-core") { }) {
librarySystemDepends = [ root ];
};
"HROOT-graf" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT-graf" (HROOT-src + "/HROOT-graf") { }) {
librarySystemDepends = [ root ];
};
"HROOT-hist" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT-hist" (HROOT-src + "/HROOT-hist") { }) {
librarySystemDepends = [ root ];
};
"HROOT-io" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT-io" (HROOT-src + "/HROOT-io") { }) {
librarySystemDepends = [ root ];
};
"HROOT-math" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT-math" (HROOT-src + "/HROOT-math") { }) {
librarySystemDepends = [ root ];
};
"HROOT-net" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT-net" (HROOT-src + "/HROOT-net") {
RHTTP = null;
}) { librarySystemDepends = [ root ]; };
"HROOT-tree" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT-tree" (HROOT-src + "/HROOT-tree") { }) {
librarySystemDepends = [ root ];
};
"HROOT-RooFit" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT-RooFit" (HROOT-src + "/HROOT-RooFit") { }) {
librarySystemDepends = [ root ];
};
"HROOT-RooFit-RooStats" = pkgs.haskell.lib.overrideCabal
(hself.callCabal2nix "HROOT-RooFit-RooStats"
(HROOT-src + "/HROOT-RooFit-RooStats")
{ }) { librarySystemDepends = [ root ]; };
}