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
pciutils: fixup musl support #96012
pciutils: fixup musl support #96012
Conversation
c92beef
to
4fb0fe3
Compare
Is this really because of using musl or because you want a static build? (in which case you want musl) |
I'm not too sure I understand the question. When you try to install pkgsStatic.pciutils it will fail with:
I have binary that depends on pciutils which I'm trying to build statically. As far as I understand, the "is this a static build" switch is |
I meant that musl can be used "normally" (dynamically) and maybe that's even more common, so I wouldn't generally put the implication there. The typical approach for static builds in NixPkgs seems to add configurability to the package and set it in |
Example: |
I didn't actually know about |
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
4fb0fe3
to
983967c
Compare
Close PR #96012 (thanks). This "static style" was discussed on: #96223 (comment)
We now found a slightly nicer way now, so I used that instead. Thanks. |
Motivation for this change
fix build on musl
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)