diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 0c9d4f110ada..c4e266d6c5d1 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -770,6 +770,7 @@ rec { mkdir $out tar \ + --sort name \ --owner 0 --group 0 --mtime "@$SOURCE_DATE_EPOCH" \ --hard-dereference \ -C old_out \