Compare commits
2 Commits
70317a1372
...
ad96876c9e
Author | SHA1 | Date |
---|---|---|
Sam W | ad96876c9e | |
Sam W | c6d025df60 |
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue