diff --git a/pkgs/build-support/docker/examples.nix b/pkgs/build-support/docker/examples.nix index a1be3a111fb3..f0535f59dfcc 100644 --- a/pkgs/build-support/docker/examples.nix +++ b/pkgs/build-support/docker/examples.nix @@ -600,7 +600,7 @@ rec { pkgs.pkgsModule ../../../nixos/modules/system/etc/etc.nix ]; - environment.etc."hosts" = { + environment.etc."some-config-file" = { text = '' 127.0.0.1 localhost ::1 localhost @@ -619,7 +619,7 @@ rec { ''; config.Cmd = pkgs.writeScript "etc-cmd" '' #!${pkgs.busybox}/bin/sh - ${pkgs.busybox}/bin/cat /etc/hosts + ${pkgs.busybox}/bin/cat /etc/some-config-file ''; };