1
1
Fork 0
mirror of https://github.com/the-nix-way/dev-templates synced 2024-05-09 20:06:09 +02:00

Add cross to Rust env

This commit is contained in:
Luc Perkins 2022-07-31 22:49:23 +02:00
parent f6ab73a1d3
commit a3134d2ce7
No known key found for this signature in database
GPG Key ID: 4F102D0C16E232F2
2 changed files with 3 additions and 1 deletions

View File

@ -174,6 +174,7 @@ The sections below list what each template includes. In all cases, you're free t
- [rust-analyzer] 2022-07-11
- [cargo-audit] 0.17.0
- [cargo-deny] 0.12.1
- [cross] 0.2.4
### [`scala`](./scala/)
@ -195,6 +196,7 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
[cargo-audit]: https://crates.io/crates/cargo-audit
[cargo-deny]: https://crates.io/crates/cargo-deny
[clippy]: https://github.com/rust-lang/rust-clippy
[cross]: https://github.com/cross-rs/cross
[cue]: https://cuelang.org
[damon]: https://github.com/hashicorp/damon
[dhall]: https://dhall-lang.org

View File

@ -27,7 +27,7 @@
deps = with pkgs; [ openssl pkgconfig ];
rustTools = with pkgs;
[ cargo-audit cargo-deny rust-analyzer ] ++ optionals isLinux (with pkgs; [ cargo-watch ]);
[ cargo-audit cargo-deny cargo-cross rust-analyzer ] ++ optionals isLinux (with pkgs; [ cargo-watch ]);
in {
packages.default = rust;