--enable-flakes doesn't seem to work #17
Labels
No labels
Compat/Breaking
Context/drive-by
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status/Fixed On Main
Status
Need More Info
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lix-project/lix-installer#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running:
the installer still prompts me explicitly whether to enable flakes or not. When running:
no prompt is displayed, but flakes are not enabled.
It actually appears to do the inverse of
--enable-flakeswhen also set with--no-confirm, enabling flakes when unset and disabling flakes when set. Just ran into this when setting up a CI.Yeah, it's
ArgAction::SetFalse, for some unholy reason.https://git.lix.systems/lix-project/lix-installer/src/branch/main/src/settings.rs#L168-L179
In general, CLI code is kinda cursed, especially when interaction is layered on top of it. I'll see if the easy fix of
ArgAction::SetTruemakes sense here. Thanks for the report!