ociTools.buildContainer: writeReferencesToFile -> writeClosure

This commit is contained in:
Yueh-Shun Li 2024-03-15 08:40:18 +08:00
parent 67ec1a7d7b
commit 112c3d5ecd

View File

@ -1,4 +1,4 @@
{ lib, writeText, runCommand, writeReferencesToFile }:
{ lib, writeText, runCommand, writeClosure }:
{
buildContainer =
@ -72,7 +72,7 @@
set -o pipefail
mkdir -p $out/rootfs/{dev,proc,sys}
cp ${config} $out/config.json
xargs tar c < ${writeReferencesToFile args} | tar -xC $out/rootfs/
xargs tar c < ${writeClosure args} | tar -xC $out/rootfs/
'';
}