-
Notifications
You must be signed in to change notification settings - Fork 0
/
pkg_bundles.nix
46 lines (45 loc) · 1.05 KB
/
pkg_bundles.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
{ nixpkgs, fenix, solc, system, ... }:
let custom_overlays = import ./overlays;
in {
#withNodejs14 = import nixpkgs {
# inherit system;
# overlays = with overlays; [
# # go_1_21_3
# # nodejs_14_21_3
# fenix.overlays.default
# solc.overlay
# ];
#};
#withGo1_21_3 = import nixpkgs {
# inherit system;
# overlays = with overlays; [ go_1_21_3 ];
#};
pkgs = import nixpkgs {
inherit system;
};
pkgsUnfree = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
pkgsAndroid = import nixpkgs {
inherit system;
config = {
android_sdk.accept_license = true;
allowUnfree = true;
};
};
withGo1_20 = import nixpkgs {
inherit system;
overlays = [ custom_overlays.go_1_20 ];
};
withRust = import nixpkgs {
inherit system;
overlays = [ fenix.overlays.default ];
config.allowUnfree = true;
config.android_sdk.accept_license = true;
};
withRustAndSolc = import nixpkgs {
inherit system;
overlays = [ fenix.overlays.default solc.overlay ];
};
}