'Libudev as static library?
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?
Solution 1:[1]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | SuperSandro2000 |
