# From https://nix.dev/tutorials/nixos/building-and-running-docker-images.html { pkgs ? import { } , pkgsLinux ? import { system = "x86_64-linux"; } }: pkgs.dockerTools.buildImage { name = "hello-docker"; config = { Cmd = [ "${pkgsLinux.hello}/bin/hello" ]; }; }