Skip to content

Commit

Permalink
ociTools.buildContainer: writeReferencesToFile -> writeClosure
Browse files Browse the repository at this point in the history
  • Loading branch information
ShamrockLee committed Mar 18, 2024
1 parent 67ec1a7 commit 112c3d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/build-support/oci-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, writeText, runCommand, writeReferencesToFile }:
{ lib, writeText, runCommand, writeClosure }:

{
buildContainer =
Expand Down Expand Up @@ -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/
'';
}

0 comments on commit 112c3d5

Please sign in to comment.