From 4cba21106d13aa021b2757a3a550244a884cfccf Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 31 May 2021 16:31:16 +0200 Subject: nixos oci container: add tag option --- nix-modules/docker-nixos-modules.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix-modules/docker-nixos-modules.nix b/nix-modules/docker-nixos-modules.nix index 4f7c93d..8502d47 100644 --- a/nix-modules/docker-nixos-modules.nix +++ b/nix-modules/docker-nixos-modules.nix @@ -2,6 +2,7 @@ , dockerConfig , nixConfig , name +, tag ? "" , ...}: let @@ -49,7 +50,7 @@ let in pkgs.dockerTools.buildImage { - inherit name; + inherit name tag; # coreutils are included since we need them in startup scripts contents = pkgs.coreutils; -- cgit v1.2.3