fix(apply): use correct condition to skip activation#134
fix(apply): use correct condition to skip activation#134water-sucks merged 1 commit intonix-community:mainfrom
Conversation
WalkthroughA logical operator in the activation condition for SystemBuild is changed from AND to OR in cmd/apply/apply.go. This alters whether the activation step executes based on NoActivate and NoBoot flag combinations. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Areas requiring attention:
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code graph analysis (1)cmd/apply/apply.go (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Testing generations using
nixos apply --no-bootwas skipping activation entirely due to a broken condition.This resolves that broken condition by only skipping running
switch-to-configurationif BOTH--no-activateand--no-bootare specified.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.