abuild: put findutils in nativeBuildInputs explicitly#177682
abuild: put findutils in nativeBuildInputs explicitly#177682ghost wants to merge 1 commit intostaging-nextfrom unknown repository
Conversation
|
@ofborg build abuild |
This is a general gripe that I have with nixpkgs' busybox expression. It is the reason why I submitted #161007. A long-term fix would be to have busybox's symlinks moved to a separate derivation. So the outpath of The idea here is:
|
|
Another possibility would be for
This won't avoid problems, but it will make their root cause obvious when they arise. |
|
Should target |
|
Ok. I will draftify, then change branch, then undraftify. I figured out that is the trick to prevent mass-pinging people when changing the base branch. |
Done. Note that if #177789 works as expected (still verifying it -- needs global rebuild) and is merged then this PR not necessary, although it might still be a good idea from a hygiene perspective (packages really should not be fooling I should know if #177789 works in about six hours or so. |
PR #168413 causes `setup.sh` to invoke `find`; this broke abuild, because when `setup.sh` runs for abuild, $busybox/bin/find appears earlier in `$PATH` than `$findutils/bin/find`. Let's fix this by explicitly adding `findutils` to `nativeBuildInputs`, which causes its `find` to appear earlier in the `$PATH`.
|
#177789 is a better solution; it covers all packages rather than just this one. |
Description of changes
PR #168413 causes
setup.shto invokefind; this broke abuild, because whensetup.shruns for abuild,$busybox/bin/findappears earlier in$PATHthan$findutils/bin/find.Let's fix this by explicitly adding
findutilstonativeBuildInputs, which causes itsfindto appear earlier in the$PATH.I am still waiting for my build at staging (97c4382) to get caught up.Edit: build completed, no failures.However I was able to reproduce the problem that this fixes, and also verify that it is fixed, on my own local tree which is roughly 22.05 plus #168413 plus some other stuff.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes