(no title)
civodul | 3 years ago
https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix...
Hopefully the smart layering strategy that Nixery uses will eventually make it into 'guix pack'!
civodul | 3 years ago
https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix...
Hopefully the smart layering strategy that Nixery uses will eventually make it into 'guix pack'!
tazjin|3 years ago
I've been meaning to extract it into a more standalone tool that can output a layer distribution, that way it could also be used in things like Nix's `dockerTools.buildLayeredImage`. The main annoyance is that creating the popularity data inside of a build is not easily possible for the entirety of the package set. Still working on that one ...
I'm not sure how much Guix internals have diverged since they forked Nix, but if the dependency analysis of store paths can be done the same way then this should also be straightforward to port to Guix.
lewo|3 years ago
Currently, it supports the dockerTools layering algorithm and is designed to work with Guix [1] as well;)
[1] https://github.com/nlewo/nix2container/blob/065e5b108650ee4c...
rekado|3 years ago
tadfisher|3 years ago
Interestingly, it already supports Docker images: