-
-
Notifications
You must be signed in to change notification settings - Fork 17.1k
[Backport release-25.11] bcachefs-tools: 1.31.7 -> 1.31.11 #454223
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
(cherry picked from commit 3f4171b)
(cherry picked from commit 4257910)
add github repo as downloadPage (cherry picked from commit 4c6e189)
koverstreet/bcachefs-tools@456f73c Tools is now compatible with Kernel version 6.18 (cherry picked from commit 80776b6)
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.
This report is automatically generated by the PR / Check / cherry-pick CI workflow.
Some of the commits in this PR require the author's and reviewer's attention.
Please follow the backporting guidelines and cherry-pick with the -x flag.
This requires changes to the unstable master and staging branches first, before backporting them.
Occasionally, commits are not cherry-picked at all, for example when updating minor versions of packages which have already advanced to the next major on unstable.
These commits can optionally be marked with a Not-cherry-picked-because: <reason> footer.
Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.
If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.
Warning
Difference between a975d6d and original 3f4171b may warrant inspection.
Show diff
@@ Metadata
## Commit message ##
bcachefs-tools: use versionCheckHook instead of a passthru.tests
+ (cherry picked from commit 3f4171b8b38d716ae3a20ee12083f04c12bbb1fa)
+
## pkgs/by-name/bc/bcachefs-tools/package.nix ##
@@
rustPlatform,
@@ pkgs/by-name/bc/bcachefs-tools/package.nix
nixosTests,
installShellFiles,
fuseSupport ? false,
-@@ pkgs/by-name/bc/bcachefs-tools/package.nix: stdenv.mkDerivation (finalAttrs: {
- rustPlatform.bindgenHook
- makeWrapper
- installShellFiles
-- udevCheckHook
- ];
++ udevCheckHook,
+ }:
- buildInputs = [
+ stdenv.mkDerivation (finalAttrs: {
@@ pkgs/by-name/bc/bcachefs-tools/package.nix: stdenv.mkDerivation (finalAttrs: {
+ # FIXME: Try enabling this once the default linux kernel is at least 6.7
doCheck = false; # needs bcachefs module loaded on builder
- doInstallCheck = true;
++ doInstallCheck = true;
+ nativeInstallCheckInputs = [
+ udevCheckHook
+ versionCheckHook
+ ];
+ versionCheckProgramArg = "version";
-
++
postPatch = ''
substituteInPlace Makefile \
+ --replace-fail "target/release/bcachefs" "target/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/bcachefs"
@@ pkgs/by-name/bc/bcachefs-tools/package.nix: stdenv.mkDerivation (finalAttrs: {
kernelModule = import ./kernel-module.nix finalAttrs.finalPackage;
Warning
Couldn't locate original commit hash in message of 17f553a.
Hint: The full diffs are also available in the runner logs with slightly better highlighting.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
For some reason versionCheckHook is not respecting meta.mainProgram? |
This should be reverted once/if NixOS#454228 is merged to release-25.05.
|
|
I suggest you disable versionCheckHook on 25.11. |
|
Alternatively set |
expected due to conflict res
That's what I did (17f553a), thanks. |
a38150e
Manual backport of #452314
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.