WIP: erofs: zstd compression

FIXME: needs zstd support in the kernel, so probablt not a great idea
for now
This commit is contained in:
Daniel Lundin 2024-11-14 20:06:23 +01:00
parent a4d0e10cc4
commit 936e38be15
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
3 changed files with 15 additions and 2 deletions

10
pkgs/erofs-utils.nix Normal file
View file

@ -0,0 +1,10 @@
{ prev, ... }:
# Build mkfs.erofs with zstd support
prev.erofs-utils.overrideAttrs (final: p: {
buildInputs = p.buildInputs ++ [ prev.zstd ];
configureFlags = p.configureFlags ++ [
"--enable-multithreading"
"--enable-zstd"
];
})