Compare commits

...

2 Commits

Author SHA1 Message Date
Sam W ad96876c9e format 2023-05-11 14:44:12 +01:00
Sam W c6d025df60 Add hydrajobs 2023-05-11 14:43:58 +01:00
1 changed files with 4 additions and 3 deletions

View File

@ -21,9 +21,9 @@
inherit system; inherit system;
overlays = [(import rust-overlay)]; overlays = [(import rust-overlay)];
}; };
rust = (pkgs.rust-bin.stable.latest.default.override { rust = pkgs.rust-bin.stable.latest.default.override {
extensions = [ "rust-src" ]; extensions = ["rust-src"];
}); };
# Override naersk to use our chosen rust version from rust-overlay # Override naersk to use our chosen rust version from rust-overlay
naersk-lib = naersk.lib.${system}.override { naersk-lib = naersk.lib.${system}.override {
cargo = rust; cargo = rust;
@ -48,5 +48,6 @@
packages = with pkgs; [rust rust-analyzer]; packages = with pkgs; [rust rust-analyzer];
}; };
formatter = pkgs.alejandra; formatter = pkgs.alejandra;
hydraJobs.build = packages.default;
}); });
} }