erofs-utils: enable lzma by default
aligns with upstream since 1.8 https://github.com/erofs/erofs-utils/commit/37ada1b449ae823ca6d596059e5fbe78c4b6cc63
This commit is contained in:
committed by
nikstur
parent
335958709c
commit
21caeaf023
@@ -12,7 +12,6 @@
|
||||
libselinux,
|
||||
fuseSupport ? stdenv.hostPlatform.isLinux,
|
||||
selinuxSupport ? false,
|
||||
lzmaSupport ? false,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -37,16 +36,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
util-linux
|
||||
lz4
|
||||
zlib
|
||||
xz
|
||||
]
|
||||
++ lib.optionals fuseSupport [ fuse ]
|
||||
++ lib.optionals selinuxSupport [ libselinux ]
|
||||
++ lib.optionals lzmaSupport [ xz ];
|
||||
++ lib.optionals selinuxSupport [ libselinux ];
|
||||
|
||||
configureFlags =
|
||||
[ "MAX_BLOCK_SIZE=4096" ]
|
||||
++ lib.optional fuseSupport "--enable-fuse"
|
||||
++ lib.optional selinuxSupport "--with-selinux"
|
||||
++ lib.optional lzmaSupport "--enable-lzma";
|
||||
++ lib.optional selinuxSupport "--with-selinux";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/about/";
|
||||
|
||||
Reference in New Issue
Block a user