File tree Expand file tree Collapse file tree 4 files changed +21
-11
lines changed Expand file tree Collapse file tree 4 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 10
10
( import ./dfinity.nix )
11
11
( import ./dfinity-sdk.nix )
12
12
( import ./mkCiShell.nix )
13
+ # This file must be the last mentioned as it uses outputs from most other files
14
+ # and lifts them to the top-level package set
15
+ ( import ./top-level.nix )
13
16
]
Original file line number Diff line number Diff line change @@ -2,15 +2,6 @@ self: super:
2
2
3
3
let dfx = super . callPackage ../../dfx/package.nix {
4
4
inherit ( self ) actorscript dfinity runCommand ;
5
-
6
- libressl = self . libressl_2_9 ;
7
-
8
- # rustfmt needs to be compatible with rustc. The rust repo actually
9
- # specifies the compatible rustfmt src using a git submodule.
10
- # self.pkgsUnstable.rustfmt is a derivation for rustfmt based on that
11
- # src. See: https://github.com/NixOS/nixpkgs/pull/66713
12
- rustfmt = self . pkgsUnstable . rustfmt ;
13
- rls = self . pkgsUnstable . rls ;
14
5
} ; in
15
6
16
7
{
Original file line number Diff line number Diff line change
1
+ # A nixpkgs overlay adding the top-level tools/packages
2
+ self : super :
3
+ rec {
4
+ rustc = self . rustPackages . rustc ;
5
+ cargo = self . rustPackages . cargo ;
6
+
7
+ # These are used by various targets
8
+ libressl = super . libressl_2_9 ;
9
+
10
+ # rustfmt needs to be compatible with rustc. The rust repo actually specifies
11
+ # the compatible rustfmt src using a git submodule.
12
+ # self.pkgsUnstable.rustfmt is a derivation for rustfmt based on that src.
13
+ # See: https://github.com/NixOS/nixpkgs/pull/66713
14
+ rustfmt = super . pkgsUnstable . rustfmt ;
15
+ rls = super . pkgsUnstable . rls ;
16
+ }
Original file line number Diff line number Diff line change 40
40
"homepage" : " https://github.com/NixOS/nixpkgs" ,
41
41
"owner" : " basvandijk" ,
42
42
"repo" : " nixpkgs" ,
43
- "rev" : " 6938a95bd7da5fed8d32ee1b70177e0e2ee03647 " ,
44
- "sha256" : " 1nv9gr277vfl2hjsmwyibl3r3dr3v208cq54jyx8agyls3zdp0nq " ,
43
+ "rev" : " 37831d6d350d606194d4fbad8e29de48cdb4c426 " ,
44
+ "sha256" : " 1a4m1rf5nrq9qs972svclylz9m2nn001klk1b3zr4mry706ph5qp " ,
45
45
"type" : " tarball" ,
46
46
"url" : " https://github.com/basvandijk/nixpkgs/archive/6938a95bd7da5fed8d32ee1b70177e0e2ee03647.tar.gz" ,
47
47
"url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
You can’t perform that action at this time.
0 commit comments