diff options
author | Tom Bereknyei <tomberek@gmail.com> | 2021-10-12 02:14:36 -0400 |
---|---|---|
committer | Tom Bereknyei <tomberek@gmail.com> | 2021-10-12 02:14:36 -0400 |
commit | 03bb8f84e0f54d9980b160785f98da8ae07196fe (patch) | |
tree | 7d6ab569ff1fa006ee307b90ecf5099b0f5a35d4 /src/libstore/binary-cache-store.cc | |
parent | 01e9f046a8f8fafb4d084153d4b30dd3a8d7aef5 (diff) |
Add compression level for NARs
Based off on @dtzWill's #2276
Diffstat (limited to 'src/libstore/binary-cache-store.cc')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index 3a6be541f..8fce94264 100644 --- a/src/libstore/binary-cache-store.cc +++ b/src/libstore/binary-cache-store.cc @@ -149,7 +149,7 @@ ref<const ValidPathInfo> BinaryCacheStore::addToStoreCommon( { FdSink fileSink(fdTemp.get()); TeeSink teeSinkCompressed { fileSink, fileHashSink }; - auto compressionSink = makeCompressionSink(compression, teeSinkCompressed); + auto compressionSink = makeCompressionSink(compression, teeSinkCompressed, parallelCompression, compressionLevel); TeeSink teeSinkUncompressed { *compressionSink, narHashSink }; TeeSource teeSource { narSource, teeSinkUncompressed }; narAccessor = makeNarAccessor(teeSource); |