Unverified Commit 84c256e4 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

dockerTools.streamLayeredImage: fix enableFakechroot (#429601)

parents 2e8bf9f3 6ccf14ba
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1049,6 +1049,7 @@ rec {
          "/proc/"
          "/sys/"
          "${builtins.storeDir}/"
          "$NIX_BUILD_TOP"
          "$out/layer.tar"
        ]
      );
@@ -1085,6 +1086,7 @@ rec {
                    --exclude=./proc \
                    --exclude=./sys \
                    --exclude=.${builtins.storeDir} \
                    --exclude=".$NIX_BUILD_TOP" \
                    --numeric-owner --mtime "@$SOURCE_DATE_EPOCH" \
                    --hard-dereference \
                    -cf $out/layer.tar .