nilfs-utils: explicitly enable libmount

Despite what the README says, libmount support is not enabled by
default and needs to be enabled explicitly. Without libmount support
the GC daemon (nilfs_cleanerd) is not started at mount.
This commit is contained in:
S. Nordin Abouzahra 2021-11-20 03:02:01 -05:00
parent f92c397491
commit 747436dee1

View file

@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
buildInputs = [ libuuid libselinux ];
# According to upstream, libmount should be detected automatically but the
# build system fails to do this. This is likely a bug with their build system
# hence it is explicitly enabled here.
configureFlags = [ "--with-libmount" ];
installFlags = [
"sysconfdir=${placeholder "out"}/etc"
"root_sbindir=${placeholder "out"}/sbin"