WIP
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Bruno BELANYI 2022-07-28 13:24:41 +02:00
parent 0c73caaf60
commit b1ae941560
2 changed files with 38 additions and 36 deletions

View file

@ -6,7 +6,7 @@ name: abacus checks
steps: steps:
- name: pre commit check - name: pre commit check
commands: commands:
- nix develop . --command pre-commit run --all - nix develop . --command cargo vendor
- name: flake check - name: flake check
commands: commands:

View file

@ -80,6 +80,9 @@
rustc = my-rust; rustc = my-rust;
}; };
inherit (pkgs) lib; inherit (pkgs) lib;
in
rec {
checks = {
pre-commit = pre-commit =
let let
# See https://github.com/cachix/pre-commit-hooks.nix/issues/126 # See https://github.com/cachix/pre-commit-hooks.nix/issues/126
@ -114,8 +117,7 @@
}; };
}; };
}; };
in };
rec {
devShells = { devShells = {
default = pkgs.mkShell { default = pkgs.mkShell {
@ -129,7 +131,7 @@
my-rust my-rust
]; ];
inherit (pre-commit) shellHook; inherit (checks.pre-commit) shellHook;
RUST_SRC_PATH = "${my-rust}/lib/rustlib/src/rust/library"; RUST_SRC_PATH = "${my-rust}/lib/rustlib/src/rust/library";
}; };