The flake pinned the sha256 of channel-rust-1.97.toml, a mutable file
that static.rust-lang.org rewrites on every 1.97.x patch release; the
1.97.1 release changed it and broke nix build with a fixed-output hash
mismatch. Pin the exact patch version so fenix fetches the immutable
channel-rust-1.97.1.toml, and update the hash to match.
Fixes#976
Claude-Session: https://claude.ai/code/session_01VvWzWfEK6oV4HTe6EoGkff
- Add flake.nix at repo root with crane + fenix for Rust workspace
- Package jscpd/cpd binaries via nix build .#jscpd
- devShell with pinned Rust 1.93 toolchain, cargo-nextest, cargo-deny
- nix flake check runs cargo nextest for Rust workspace tests
- Custom source filter preserves Askama HTML templates
- Darwin frameworks (Security, SystemConfiguration) for macOS support
- Add result and result-* to .gitignore for Nix build symlinks
Note: sha256 placeholder on fenix fromToolchainFile needs to be
populated on first nix build (copy from error message).