From 747436dee19d6d7dfbb716627fe0a7e7aee4d57a Mon Sep 17 00:00:00 2001 From: "S. Nordin Abouzahra" Date: Sat, 20 Nov 2021 03:02:01 -0500 Subject: [PATCH] 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. --- pkgs/tools/filesystems/nilfs-utils/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/filesystems/nilfs-utils/default.nix b/pkgs/tools/filesystems/nilfs-utils/default.nix index ec227c95573f..07c2c5292dcf 100644 --- a/pkgs/tools/filesystems/nilfs-utils/default.nix +++ b/pkgs/tools/filesystems/nilfs-utils/default.nix @@ -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"