ociTools.buildContainer: writeReferencesToFile -> writeClosure
This commit is contained in:
parent
67ec1a7d7b
commit
112c3d5ecd
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, writeText, runCommand, writeReferencesToFile }:
|
{ lib, writeText, runCommand, writeClosure }:
|
||||||
|
|
||||||
{
|
{
|
||||||
buildContainer =
|
buildContainer =
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
mkdir -p $out/rootfs/{dev,proc,sys}
|
mkdir -p $out/rootfs/{dev,proc,sys}
|
||||||
cp ${config} $out/config.json
|
cp ${config} $out/config.json
|
||||||
xargs tar c < ${writeReferencesToFile args} | tar -xC $out/rootfs/
|
xargs tar c < ${writeClosure args} | tar -xC $out/rootfs/
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue