mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
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:
parent
59eeb8e8b3
commit
00efca8c0c
1 changed files with 1 additions and 0 deletions
|
@ -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 .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue