dockerTools: fix build failure when building in vm

Fixes build failure for nixos.tests.docker-tools.
The tar command below the changed line relied on the $out directory
being created but it is not being created after the commit below.
97ed6b4565
This commit is contained in:
Shogo Takata 2025-05-20 10:28:31 +09:00
parent 59eeb8e8b3
commit 00efca8c0c
No known key found for this signature in database

View file

@ -392,6 +392,7 @@ rec {
postMount = '' postMount = ''
echo "Packing raw image..." echo "Packing raw image..."
mkdir -p $out
tar -C mnt --hard-dereference --sort=name --mtime="@$SOURCE_DATE_EPOCH" -cf $out/layer.tar . tar -C mnt --hard-dereference --sort=name --mtime="@$SOURCE_DATE_EPOCH" -cf $out/layer.tar .
''; '';