CI / check (push) Canceled after 0s
nixpkgs 26.05 ships rustc 1.95.0, but this crate was developed and verified on 1.97.1 (what CachyOS had, installed 2026-07-17). Taking the compiler from oxalica/rust-overlay decouples "which Rust the project targets" from "which release the audio stack came from", so a nixpkgs bump can no longer move the compiler under the lint gate as a side effect. Chosen over rustup, which would also have worked here (nix-ld is enabled, so its prebuilt binaries run) and would have let one rust-toolchain.toml cover the packaging distroboxes too. The deciding factor is purity: rustup records nothing in flake.lock, so a fresh clone or darp5 would resolve whatever it fetched that day. rust-overlay gives the same exact-version control with the choice pinned in the lock. `.default` is the rustup "default" profile — rustc, cargo, rust-std, rustfmt and clippy — so those are no longer listed individually. rust-src and the x86_64-pc-windows-gnu target are added for win-cross-build.sh, which needs `-Z build-std=std,panic_abort`; that script still expects the peerspeak-win distrobox for the mingw half. Verified on 1.97.1: 640 lib tests pass, fmt clean. NOT fixed here, and pre-existing rather than a migration artifact: `cargo clippy --all-targets -- -D warnings` fails with 15 warnings — 13 `float_literal_f32_fallback` (bare 0.05/0.01 into `.step()`, wants `0.05_f32`), one `manual implementation of Option::filter`, one `redundant reference in format!`, all in src/app/mod.rs. The f32 lint is `future_incompatible` and is slated to become a hard error, so it needs fixing regardless of platform. CachyOS was already on 1.97.1 well before the 2026-07-31 S2 merge logged as "clippy clean", so that claim reflects a plain `cargo clippy` run, which exits 0 on warnings. `cargo clippy --fix` applies all 15 automatically.
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"nodes": {
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1785989512,
|
|
"narHash": "sha256-HFQhkQcl5D1hUNoen3SGHCSFCt2Bg6uP+HgbrnA3InQ=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "445d861c6d31b4af0c79d8d4be2331f762a361d7",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"ref": "nixos-26.05",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"nixpkgs": "nixpkgs",
|
|
"rust-overlay": "rust-overlay"
|
|
}
|
|
},
|
|
"rust-overlay": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1786076960,
|
|
"narHash": "sha256-jfR6OhwurCKn1tREyfOcK/Omxf1Q/DzDDFbnEr1mBLs=",
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"rev": "57a23bfaf4f7017267294b161175db1e32eb1c85",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|