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