summary refs log tree commit diff
path: root/pkgs/build-support/docker
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-06-01 14:42:21 +0200
committerRobert Hensing <robert@roberthensing.nl>2021-06-01 14:42:21 +0200
commitff55c41facaa6812f9cc879a49f6929321881d4f (patch)
tree664de4e3f45260f0ae5342899b3f26a75ab8dc55 /pkgs/build-support/docker
parentf78c3be0cdd43c92f60d4819645340c51cd9f850 (diff)
downloadnixpkgs-ff55c41facaa6812f9cc879a49f6929321881d4f.tar
nixpkgs-ff55c41facaa6812f9cc879a49f6929321881d4f.tar.gz
nixpkgs-ff55c41facaa6812f9cc879a49f6929321881d4f.tar.bz2
nixpkgs-ff55c41facaa6812f9cc879a49f6929321881d4f.tar.lz
nixpkgs-ff55c41facaa6812f9cc879a49f6929321881d4f.tar.xz
nixpkgs-ff55c41facaa6812f9cc879a49f6929321881d4f.tar.zst
nixpkgs-ff55c41facaa6812f9cc879a49f6929321881d4f.zip
dockerTools: Fix passthru image tag
It should match the actual image tag.
This fixes the problem introduced in 00996b5e03f33bebafc2b17c41a175d3726a9bde
https://github.com/NixOS/nixpkgs/pull/115491#pullrequestreview-672789901
Diffstat (limited to 'pkgs/build-support/docker')
-rw-r--r--pkgs/build-support/docker/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix
index 5bbf1b63f2b..89510cd6330 100644
--- a/pkgs/build-support/docker/default.nix
+++ b/pkgs/build-support/docker/default.nix
@@ -536,7 +536,7 @@ rec {
         passthru.layer = layer;
         passthru.imageTag =
           if tag != null
-            then lib.toLower tag
+            then tag
             else
               lib.head (lib.strings.splitString "-" (baseNameOf result.outPath));
         # Docker can't be made to run darwin binaries