shardeum / shardus-core

Other
10 stars 2 forks source link

Update Nix flake to pin Node and Rust versions #247

Open muni-corn opened 3 weeks ago

muni-corn commented 3 weeks ago

Pins nixpkgs, Node (18.16.1), and Rust (1.74.1) to versions compatible with this repository.

nixpkgs is pinned to an older version for Node v18 to build without failure.

github-actions[bot] commented 3 weeks ago

PR Reviewer Guide ๐Ÿ”

โฑ๏ธ Estimated effort to review: 3 ๐Ÿ”ต๐Ÿ”ต๐Ÿ”ตโšชโšช
๐Ÿงช No relevant tests
๐Ÿ”’ No security concerns identified
โšก Key issues to review

Hardcoded SHA256
The SHA256 hashes for Node.js and Rust are hardcoded in the flake file. This might lead to potential build failures if the packages at these hashes are removed or corrupted in the future. Consider a more dynamic approach to handle dependencies. Dependency Management
The PR introduces new dependencies (`fenix`, `nixpkgs-node-18`) without removing or updating existing dependencies. Ensure that all dependencies are necessary and maintained to avoid security vulnerabilities and package conflicts.