File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 15
15
cargoToml =
16
16
builtins . fromTOML ( builtins . readFile "${ crateDir } /Cargo.toml" ) ;
17
17
18
- runtimeDeps = with pkgs ; [ ] ;
19
- buildDeps = with pkgs ; [ ] ;
20
- devDeps = with pkgs ; [ pkgs . ansible ] ;
18
+ devDeps = with pkgs ; [ ansible ansible-lint ] ;
21
19
22
20
mkDevShell = rustc :
23
21
pkgs . mkShell {
24
22
shellHook = ''
25
23
export RUST_SRC_PATH=${ pkgs . rustPlatform . rustLibSrc }
26
24
'' ;
27
- buildInputs = runtimeDeps ;
28
- nativeBuildInputs = buildDeps ++ devDeps ++ [ rustc ] ;
25
+ nativeBuildInputs = devDeps ++ [ rustc ] ;
29
26
} ;
30
27
in {
31
28
_module . args . pkgs = import inputs . nixpkgs {
41
38
cargoLock = {
42
39
lockFile = "${ crateDir } /Cargo.lock" ;
43
40
} ;
44
- nativeBuildInputs = buildDeps ;
45
- buildInputs = runtimeDeps ;
46
41
doCheck = false ; # Some tests require platform certs.
47
42
} ;
48
43
You can’t perform that action at this time.
0 commit comments