Skip to content

Commit 02ae617

Browse files
committed
flake: remove unused lists, add ansible-lint
* The `runtimeDeps` and `buildDeps` were empty and can be removed. * Add `ansible-lint` to the `devDeps`. Running `ansible-lint` produces a lot of findings we might want to fix up, but that will have to wait for a subsequent PR.
1 parent e02ec6b commit 02ae617

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

flake.nix

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@
1515
cargoToml =
1616
builtins.fromTOML (builtins.readFile "${crateDir}/Cargo.toml");
1717

18-
runtimeDeps = with pkgs; [ ];
19-
buildDeps = with pkgs; [ ];
20-
devDeps = with pkgs; [ pkgs.ansible ];
18+
devDeps = with pkgs; [ ansible ansible-lint ];
2119

2220
mkDevShell = rustc:
2321
pkgs.mkShell {
2422
shellHook = ''
2523
export RUST_SRC_PATH=${pkgs.rustPlatform.rustLibSrc}
2624
'';
27-
buildInputs = runtimeDeps;
28-
nativeBuildInputs = buildDeps ++ devDeps ++ [ rustc ];
25+
nativeBuildInputs = devDeps ++ [ rustc ];
2926
};
3027
in {
3128
_module.args.pkgs = import inputs.nixpkgs {
@@ -45,8 +42,6 @@
4542
"sha256-Gj3zevsE8o5/6hYryZGJ2XIL4yyveKdOud0YUZPhVys=";
4643
};
4744
};
48-
nativeBuildInputs = buildDeps;
49-
buildInputs = runtimeDeps;
5045
doCheck = false; # Some tests require platform certs.
5146
};
5247

0 commit comments

Comments
 (0)