-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Update bcachefs, fix build in hydra #97599
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
Conversation
I don't use bcachefs anymore (or at least for now). Broke my filesystem too many times. |
@eadwu thanks for the feedback. have you reported the issues upstream? they claim it never broke |
Tests were failing because they require the bcachefs module to be loaded on the builder Many tests were skipped anyways and Bcachefs is still tested via its nixos test
It was mainly a problem on following upstream too closely since there isn't really any set tags for a "stable" release. I don't think it was really a filesystem issue, but the integration of |
versioning scheme: major.minor.YYYY.MM.DD -> major.minor.patch-YYYY.MM.DD Makes a lot more sense imho
1032443
to
3cc3e86
Compare
Eval without aliases should work now. |
there should probably be an assertion that the tooling version is compatible. Whats the best way to implement this? I'm not sure. |
I don't think there is a way yet. Bcachefs is a very unstable thing still and there is not a single release, much less a stable one. The only known compatible versions are whatever is the newest. We do have a nixos test you can use to do integration tests, I think expanding that to cover most of bcachefs' features would be the best we can do for now. A topic for a different PR though IMO. |
The build wasn't consistently broken but flaky: https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.bcachefs-tools.x86_64-linux For example, it succeeded for me locally just before merging even though the same failed on Hydra (same for current 20.09), so it seems unclear whether this PR addresses the flakiness. |
I don't have bcachefs on that system loaded ( |
This update breaks my machine, right at mounting at boot. I will try to see whether I can fix it or get more info. Stay tuned. |
Motivation for this change
https://hydra.nixos.org/build/126571067
https://hydra.nixos.org/build/126999921
ZHF: #97479
Bcachefs was also very out-of-date
Closes #91749
Closes #96251
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)cc @NixOS/nixos-release-managers