Unverified Commit bc40f51d authored by Xavier Maillard's avatar Xavier Maillard
Browse files

dockerTools: discard closure reference in imageTag

parent f2522053
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -637,7 +637,7 @@ rec {
            if tag != null
            then tag
            else
              lib.head (lib.strings.splitString "-" (baseNameOf result.outPath));
              lib.head (lib.strings.splitString "-" (baseNameOf (builtins.unsafeDiscardStringContext result.outPath)));
        } ''
        ${lib.optionalString (tag == null) ''
          outName="$(basename "$out")"
@@ -1001,7 +1001,7 @@ rec {
              if tag != null
              then tag
              else
                lib.head (lib.strings.splitString "-" (baseNameOf conf.outPath));
                lib.head (lib.strings.splitString "-" (baseNameOf (builtins.unsafeDiscardStringContext conf.outPath)));
            paths = buildPackages.referencesByPopularity overallClosure;
            nativeBuildInputs = [ jq ];
          } ''