CI: Switch tooling setup to Nix
Some checks failed
verify.yaml / CI: Switch tooling setup to Nix (push) Failing after 0s

This commit is contained in:
Juno Takano 2026-06-22 21:15:10 -03:00
commit 1baa474e1a
No known key found for this signature in database
6 changed files with 96 additions and 134 deletions

View file

@ -41,20 +41,39 @@
});
devShells = forAllSystems (system:
let pkgs = nixpkgsFor.${system}; in {
default = pkgs.mkShell {
buildInputs = with pkgs; [
rustup
just
watchexec
let
pkgs = nixpkgsFor.${system};
sets = with pkgs; rec {
base = [
cargo-deny
cargo-llvm-cov
cargo-mutants
go-tools
typos
cargo-msrv
just
rustup
taplo
typos
];
cross = base ++ [
cargo-xwin
wine
];
dev = [
cargo-mutants
watchexec
git
];
edit = dev ++ [
neovim
tmux
];
};
in with sets; {
default = pkgs.mkShell { buildInputs = base; };
cross = pkgs.mkShell { buildInputs = cross; };
dev = pkgs.mkShell { buildInputs = base ++ dev; };
cross-dev = pkgs.mkShell { buildInputs = cross ++ dev; };
edit = pkgs.mkShell { buildInputs = edit; };
cross-edit = pkgs.mkShell { buildInputs = cross ++ edit; };
}
);