Commit 12687ce 1 parent 9db635b commit 12687ce Copy full SHA for 12687ce
File tree 1 file changed +19
-12
lines changed
1 file changed +19
-12
lines changed Original file line number Diff line number Diff line change 78
78
79
79
fmt = craneLib . cargoFmt commonArgs ;
80
80
} ;
81
+
82
+ ci_packages = with pkgs ; [
83
+ just
84
+ ] ;
85
+
86
+ dev_packages = with pkgs ; [
87
+ cargo-nextest
88
+ graphql-client
89
+ nixfmt
90
+ rust-analyzer
91
+ nushell
92
+ ] ++ ci_packages ;
93
+
81
94
in {
82
95
inherit checks ;
83
96
90
103
} ;
91
104
92
105
devShells . default = craneLib . devShell {
93
- packages = with pkgs ; [
94
- # cargo and rustc provided by default
95
- just
96
- cargo-nextest
97
- graphql-client
98
- nixfmt
99
- rust-analyzer
100
- nushell
101
- ] ;
102
-
106
+ packages = dev_packages ;
103
107
shellHook = ''
104
- # Use nushell as default shell
105
- exec nu
108
+ exec nu
106
109
'' ;
107
110
} ;
111
+
112
+ devShells . ci = craneLib . devShell {
113
+ packages = ci_packages ;
114
+ } ;
108
115
} ) ;
109
116
}
You can’t perform that action at this time.
0 commit comments