automatically run rust tests
All checks were successful
Hydra x86_64-linux.checks.rust-template Hydra build #2350 of procyos:rust-template:x86_64-linux.checks.rust-template
Hydra x86_64-linux.packages.rust-template Hydra build #2351 of procyos:rust-template:x86_64-linux.packages.rust-template

This commit is contained in:
Charlotte 🦝 Delenk 2024-09-05 15:17:39 +02:00
parent b5ee7a7bc8
commit 4d42ee02e7

View file

@ -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"