-
-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nix: don't allow using auto-optimise-store
as it can corrupt the store
#1152
Conversation
modules/nix/default.nix
Outdated
NOTE: This is known to cause Nix Store corruption and using | ||
{option}`{nix.gc.automatic} instead is recommended. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably be a ::: {.warning}
, but also if this is getting fixed then we might not need to warn explicitly against it in the description
– the assertion should do a good enough job by itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed, also ::: {.warning}
didn't do anything when I tested it (neither in the manpages or the HTML manual)
9022f32
to
bfc9d8d
Compare
Thanks for adding this... it made me realize I had my options backwards on my mac... |
bfc9d8d
to
068cc8c
Compare
068cc8c
to
f8541c9
Compare
f8541c9
to
f0a1269
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks again!
Upstream issue at NixOS/nix#7273
Should be fixed by https://gerrit.lix.systems/c/lix/+/2100
Tested the version check with Nix, Lix
2.91.0
(pkgs.lixVersions.latest
), Lix2.92.0-devpre20241106_1ecfff9
(github:lix-project/lix/1ecfff9c37f64871661d615e407ec3571489eff7
, doesn't include the fix) and Lix2.92.0-devpre20241107_72cce7b
(github:lix-project/lix
) which does include the changeCloses #484