-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.nix
26 lines (24 loc) · 1.2 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
{
system ? builtins.currentSystem,
pkgs ? import <nixpkgs> { inherit system; }
}:
let
callPackage = pkgs.lib.callPackageWith (pkgs // self);
tuna = "https://mirrors.tuna.tsinghua.edu.cn/mongodb/";
self = {
mongodb = import ./mongodb.nix;
mongodb7 = callPackage ./mongodb.nix { version = "7.0.11"; inherit system; };
mongodb6 = callPackage ./mongodb.nix { version = "6.0.12"; inherit system; };
mongodb5 = callPackage ./mongodb.nix { version = "5.0.10"; inherit system; };
mongodb4 = callPackage ./mongodb.nix { version = "4.4.16"; inherit system; };
mongodb7-cn = callPackage ./mongodb.nix { version = "7.0.11"; mirror = tuna; inherit system; };
mongodb6-cn = callPackage ./mongodb.nix { version = "6.0.12"; mirror = tuna; inherit system; };
mongodb5-cn = callPackage ./mongodb.nix { version = "5.0.10"; mirror = tuna; inherit system; };
mongodb4-cn = callPackage ./mongodb.nix { version = "4.4.16"; mirror = tuna; inherit system; };
cyaron = callPackage ./cyaron.nix { inherit system; };
xeger = callPackage ./xeger.nix { inherit system; };
gcc = callPackage ./gccWithCache.nix { inherit system; };
judge = callPackage ./judge.nix { inherit system; };
};
in
self