automatically run rust tests
This commit is contained in:
parent
b5ee7a7bc8
commit
4d42ee02e7
1 changed files with 6 additions and 4 deletions
10
flake.nix
10
flake.nix
|
@ -57,13 +57,15 @@
|
|||
gdb
|
||||
];
|
||||
};
|
||||
packages = {
|
||||
rust-template = rustPkgs.workspace.rust-template {};
|
||||
};
|
||||
packages = pkgs.lib.mapAttrs (_: v: v {}) rustPkgs.workspace;
|
||||
nixosModules.default = import ./nixos {
|
||||
inherit inputs system;
|
||||
};
|
||||
hydraJobs = packages;
|
||||
checks = pkgs.lib.mapAttrs (_: v: pkgs.rustBuilder.runTests v {}) rustPkgs.workspace;
|
||||
hydraJobs = {
|
||||
inherit packages checks;
|
||||
};
|
||||
formatter = pkgs.alejandra;
|
||||
});
|
||||
}
|
||||
# Trick renovate into working: "github:NixOS/nixpkgs/nixpkgs-unstable"
|
||||
|
|
Loading…
Reference in a new issue