pdtpartners / nix-snapshotter

Brings native understanding of Nix packages to containerd
MIT License
532 stars 15 forks source link

Add NewExternalNixBuilder to enable config-level changing of NixBuilder #113

Closed elpdt852 closed 7 months ago

elpdt852 commented 7 months ago

Since rootless k3s needs an embedded nix-snapshotter, we need a config-level way of modifying the NixBuilder for internal use. We want to avoid maintaining a long-lived branch of k3s only to pass in a WithNixBuilder, so I've exposed it in the nix-snapshotter config as external_builder.

Includes an integration test.