Skip to content

Commit

Permalink
Correct Nixery comparison with nixery-layers blog post (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
elpdt852 authored Sep 12, 2023
1 parent 47f1a27 commit 6eb21bd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,13 @@ store or fetched from your Nix binary cache.
<summary>Answer</summary>

Nixery exposes an API (in the form of an OCI registry) to dynamically build
Nix-based images, but still uses the same layering strategy as upstream's
`pkgs.dockerTools.buildImage` (see above). So Nixery suffers from the same
inefficiency in duplication. However, Nixery can totally start building
Nix-based images. It has an [improved layering design][nixery-layers] compared
to upstream `pkgs.dockerTools.buildImage` but is still fundamentally a
heuristics- based layering strategy (see above), so it still suffers from the
same inefficiency in duplication. However, Nixery can totally start building
nix-snapshotter images so we can have a Docker Registry that can dynamically
build native Nix images.
build native Nix images. See this [Nixery issue][nixery-issue] to follow along
the progress.

</details>

Expand Down Expand Up @@ -433,6 +435,8 @@ details.
[nix2container]: https://github.com/nlewo/nix2container
[nix-command]: https://zero-to-nix.com/concepts/nix#unified-cli
[nixery]: https://nixery.dev/
[nixery-issue]: https://github.com/tazjin/nixery/issues/160
[nixery-layers]: https://tazj.in/blog/nixery-layers
[nix-flake]: https://zero-to-nix.com/concepts/flakes
[nix]: https://nixos.org/
[nix-installer]: https://zero-to-nix.com/start/install
Expand Down

0 comments on commit 6eb21bd

Please sign in to comment.