about summary refs log tree commit diff
path: root/tools/nixery/server/builder/builder.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-10-11T00·28+0100
committerVincent Ambo <github@tazj.in>2019-10-11T11·37+0100
commit0693e371d66bfe3de2d97ab80e9c9684ec8abc34 (patch)
tree6df4668f712d45dbc32a23a795096bd47a6ee36b /tools/nixery/server/builder/builder.go
parentbf2718cebbd1c7af15c54c6da5685ed6d933cab4 (diff)
feat(server): Apply GZIP compression to all image layers
This fixes #62
Diffstat (limited to 'tools/nixery/server/builder/builder.go')
-rw-r--r--tools/nixery/server/builder/builder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/server/builder/builder.go b/tools/nixery/server/builder/builder.go
index 78d09b55b1ec..748ff5f67d7b 100644
--- a/tools/nixery/server/builder/builder.go
+++ b/tools/nixery/server/builder/builder.go
@@ -270,7 +270,7 @@ func prepareLayers(ctx context.Context, s *State, image *Image, result *ImageRes
 		} else {
 			lh := l.Hash()
 			lw := func(w io.Writer) error {
-				return tarStorePaths(&l, w)
+				return packStorePaths(&l, w)
 			}
 
 			entry, err := uploadHashLayer(ctx, s, lh, lw)