2024-04-30 16:00:19 -07:00
|
|
|
# Keep sorted
|
2024-05-09 15:20:48 +02:00
|
|
|
{
|
|
|
|
alejandra,
|
|
|
|
cargo-deb,
|
|
|
|
default,
|
|
|
|
engage,
|
|
|
|
go,
|
|
|
|
inputs,
|
|
|
|
jq,
|
|
|
|
lychee,
|
|
|
|
mdbook,
|
|
|
|
mkShell,
|
|
|
|
olm,
|
|
|
|
system,
|
|
|
|
taplo,
|
|
|
|
toolchain,
|
2024-04-30 16:00:19 -07:00
|
|
|
}:
|
|
|
|
mkShell {
|
2024-05-09 15:20:48 +02:00
|
|
|
env =
|
|
|
|
default.env
|
|
|
|
// {
|
|
|
|
# Rust Analyzer needs to be able to find the path to default crate
|
|
|
|
# sources, and it can read this environment variable to do so. The
|
|
|
|
# `rust-src` component is required in order for this to work.
|
|
|
|
RUST_SRC_PATH = "${toolchain}/lib/rustlib/src/rust/library";
|
|
|
|
};
|
2024-04-30 16:00:19 -07:00
|
|
|
|
|
|
|
# Development tools
|
2024-05-09 15:20:48 +02:00
|
|
|
nativeBuildInputs =
|
|
|
|
default.nativeBuildInputs
|
|
|
|
++ [
|
|
|
|
# Always use nightly rustfmt because most of its options are unstable
|
|
|
|
#
|
|
|
|
# This needs to come before `toolchain` in this list, otherwise
|
|
|
|
# `$PATH` will have stable rustfmt instead.
|
|
|
|
inputs.fenix.packages.${system}.latest.rustfmt
|
|
|
|
|
|
|
|
# rust itself
|
|
|
|
toolchain
|
2024-04-30 16:00:19 -07:00
|
|
|
|
2024-05-09 15:20:48 +02:00
|
|
|
# CI tests
|
|
|
|
engage
|
2024-04-30 16:00:19 -07:00
|
|
|
|
2024-05-09 15:20:48 +02:00
|
|
|
# format toml files
|
|
|
|
taplo
|
2024-05-06 19:43:13 +01:00
|
|
|
|
2024-05-09 15:20:48 +02:00
|
|
|
# Needed for producing Debian packages
|
|
|
|
cargo-deb
|
2024-05-06 19:43:13 +01:00
|
|
|
|
2024-05-09 15:20:48 +02:00
|
|
|
# Needed for our script for Complement
|
|
|
|
jq
|
2024-04-30 16:00:19 -07:00
|
|
|
|
2024-05-09 15:20:48 +02:00
|
|
|
# Needed for Complement
|
|
|
|
go
|
|
|
|
olm
|
2024-04-30 16:00:19 -07:00
|
|
|
|
2024-05-09 15:20:48 +02:00
|
|
|
# Needed for our script for Complement
|
|
|
|
jq
|
2024-04-30 16:00:19 -07:00
|
|
|
|
2024-05-09 15:20:48 +02:00
|
|
|
# Needed for finding broken markdown links
|
|
|
|
lychee
|
2024-04-30 16:00:19 -07:00
|
|
|
|
2024-05-09 15:20:48 +02:00
|
|
|
# Useful for editing the book locally
|
|
|
|
mdbook
|
2024-04-30 16:00:19 -07:00
|
|
|
|
2024-05-09 15:20:48 +02:00
|
|
|
# nix formatter
|
|
|
|
alejandra
|
|
|
|
];
|
2024-04-30 16:00:19 -07:00
|
|
|
}
|