Repository navigation
chore(nix): use hostPlatform predicates and drop unused rec - #897
Conversation
Replace the deprecated `stdenv.isLinux`/`isDarwin` with `stdenv.hostPlatform.*` (the modern nixpkgs form), and remove the `rec` from `packages` since nothing refers to the attribute set itself.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
I kept getting warnings when building with nix:
Replace the deprecated
stdenv.isLinux/isDarwinwithstdenv.hostPlatform.*(the modern nixpkgs form), and remove therecfrompackagessince nothing refers to the attribute set itself.Testing
nix build .#Additional notes
💬 Questions or want to chat with other contributors? Join the spotatui Discord.
Summary by CodeRabbit