Addgroup: command not found with Docker image `nixos/nix:latest`

Probably related to Use a pure Nix approach to building containers by adisbladis · Pull Request #31 · NixOS/docker · GitHub .
The 2.3.x images were based on Alpine. 2.5.x is built using the Nix docker tools.