12 ms·
you could try to statically link them if the package support it, it does so by using musl nix build github:NixOS/nixpkgs#pkgsStatic.git return the pacakge as:
by Rucadi 1y ago
you could try to statically link them if the package support it, it does so by using musl
nix build github:NixOS/nixpkgs#pkgsStatic.git
return the pacakge as:
ls -lah git
-r-xr-xr-x 1 rucadi rucadi 5.1M Jan 1 1970 git
ldd git
$ not a dynamic executable
So you don't really need to really grow the container
- sepositus 1y agoYeah, it's a problem on a package-per-package basis. My point isn't how to solve the git problem but that the experience can vary wildly depending on the package. It can be surprising and often comes at the expense of time trying to navigate the insanity that is nixpkgs :)