continuwuity/nix/packages/rust.nix
renovate e3ae714248
All checks were successful
Documentation / Build and Deploy Documentation (push) Successful in 1m18s
Checks / Prek / Pre-commit & Formatting (push) Successful in 3m7s
Release Docker Image / Build linux-amd64 (release) (push) Successful in 12m33s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 18m11s
Release Docker Image / Build linux-arm64 (release) (push) Successful in 12m35s
Release Docker Image / Create Multi-arch Release Manifest (push) Successful in 23s
Release Docker Image / Build linux-amd64 (max-perf) (push) Successful in 33m11s
Release Docker Image / Build linux-arm64 (max-perf) (push) Successful in 30m43s
Release Docker Image / Create Max-Perf Manifest (push) Successful in 21s
chore(Nix): Updated flake hashes
2026-03-20 18:55:28 +00:00

32 lines
760 B
Nix

{ inputs, ... }:
{
perSystem =
{
system,
lib,
...
}:
{
packages =
let
fnx = inputs.fenix.packages.${system};
stable = fnx.fromToolchainFile {
file = inputs.self + "/rust-toolchain.toml";
# See also `rust-toolchain.toml`
sha256 = "sha256-sqSWJDUxc+zaz1nBWMAJKTAGBuGWP25GCftIOlCEAtA=";
};
in
{
# used for building nix stuff (doesn't include rustfmt overhead)
build-toolchain = stable;
# used for dev shells
dev-toolchain = fnx.combine [
stable
# use the nightly rustfmt because we use nightly features
fnx.complete.rustfmt
];
};
};
}