Iām trying to build a static binary that depends on libudev
.
Unfortunately nix-env -iA nixpkgs.pkgsStatic.libudev
fails with: error: p11-kit cannot be used as a static library
.
Is there a better way of doing this?
Iām trying to build a static binary that depends on libudev
.
Unfortunately nix-env -iA nixpkgs.pkgsStatic.libudev
fails with: error: p11-kit cannot be used as a static library
.
Is there a better way of doing this?
On more recent nixpkgs versions you don't get the above error but several compile errors. If you are familiar with static compiling feel free to submit PRs to fix those.