If Nix could be used inside of a Docker build to pull in only the required
system dependencies you could get quite lean images out of it. One of the
problems of Docker images today are that they are almost always too fat.
Every base image I have used have been over 300 MB. There is always
busybox and such but system libraries are still a problem.