summaryrefslogtreecommitdiff
path: root/nix-modules
diff options
context:
space:
mode:
Diffstat (limited to 'nix-modules')
-rw-r--r--nix-modules/docker-nixos-modules.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix-modules/docker-nixos-modules.nix b/nix-modules/docker-nixos-modules.nix
index d14144d..4f7c93d 100644
--- a/nix-modules/docker-nixos-modules.nix
+++ b/nix-modules/docker-nixos-modules.nix
@@ -68,7 +68,7 @@ in pkgs.dockerTools.buildImage {
# Note that many features of the systemd.services config
# are just ignored (e.g. no auto-restarts yet)
config = with pkgs.lib; with pkgs.lib.strings; dockerConfig // {
- Cmd = pkgs.writeScript "main-entrypoint"
+ Cmd = [ (pkgs.writeScript "main-entrypoint"
("#!${pkgs.dash.outPath}/bin/dash\n" + concatStrings
(map (command: "${command}&\n")
(mapAttrsToList
@@ -103,6 +103,6 @@ in pkgs.dockerTools.buildImage {
then service.script
else service.serviceConfig.ExecStart}
'').outPath)
- config.config.systemd.services)) + "\n wait");
+ config.config.systemd.services)) + "\n wait")) ];
};
}