mirror of
https://github.com/msfjarvis/healthchecks-rs.git
synced 2024-06-03 04:18:58 +05:30
nix: update shell config
This commit is contained in:
parent
eb08287a82
commit
4d6d6d3a7e
11
shell.nix
11
shell.nix
|
@ -1,9 +1,12 @@
|
|||
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
(rust-bin.selectLatestNightlyWith (toolchain:
|
||||
toolchain.default.override {
|
||||
extensions = [ "rust-src" "rustfmt-preview" ];
|
||||
}))
|
||||
(rust-bin.stable.latest.default.override {
|
||||
extensions = [ "rust-src" "rustfmt-preview" ];
|
||||
targets =
|
||||
pkgs.lib.optionals pkgs.stdenv.isDarwin [ "aarch64-apple-darwin" ]
|
||||
++ pkgs.lib.optionals pkgs.stdenv.isLinux
|
||||
[ "x86_64-unknown-linux-musl" ];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user