Commit 5893e609 authored by Yureka's avatar Yureka
Browse files

erofs-utils: set explicit MAX_BLOCK_SIZE

eliminates an impurity through sysconf(_SC_PAGESIZE) when the setting is not specified
parent 54adff2f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -25,7 +25,9 @@ stdenv.mkDerivation rec {
  buildInputs = [ util-linux lz4 zlib ]
    ++ lib.optionals fuseSupport [ fuse ];

  configureFlags = lib.optionals fuseSupport [ "--enable-fuse" ];
  configureFlags = [
    "MAX_BLOCK_SIZE=4096"
  ] ++ lib.optional fuseSupport "--enable-fuse";

  meta = with lib; {
    description = "Userspace utilities for linux-erofs file system";