[staging] pkgsMusl.which: fix build#477577
Conversation
There was a problem hiding this comment.
Upstream declined to apply this patch for a specific reason, see https://lists.gnu.org/archive/html/which-bugs/2025-04/msg00003.html.
This needs to be gated behind lib.optionals stdenv.hostPlatform.isMusl.
For the reason I gave in #473403 (comment), this is actually likely fine
|
|
|
After more research, I found the comment originates from an old version of getopt.h from gnulib. The comment was removed in gnulib with commit coreutils/gnulib@1c64ecc#diff-acd0cc21a35657b5071913f8865087c0c0598e701419d32036c7dcfbf22e29bdL148 from 2004... |
Fixes: #478542
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.