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 <[email protected]>
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
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)