Global Feed Post Login
Replying to Avatar Ingwie Phoenix (aka. birb)

Yes, that is correct. Unfortunately, by default, Nix uses dynamic libraries and their FULL package (man pages and everything included).

I later learned of pkgsStatic; an overlay in nixpkgs that focuses entirely on static things. With that, and then using nix-store -qa $folder, I saw MUCH less garbage inbetween. So, pkgsStatic (or perhaps pkgsMusl, also a thing) is a good solution for using a multi stage docker container with Nix - this way, it only returns what you really and actually need.

But, I am also still learning... ^^'

Avatar
Hunter ₿eaṩt 1y ago

Epic!

Reply to this note

Please Login to reply.

Discussion

No replies yet.