mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-19 20:09:01 +02:00
ociTools.buildContainer: writeReferencesToFile -> writeClosure
This commit is contained in:
parent
67ec1a7d7b
commit
112c3d5ecd
|
@ -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/
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue