summary refs log tree commit diff
path: root/pkgs/tools/filesystems/nilfs-utils
diff options
context:
space:
mode:
authorS. Nordin Abouzahra <abouzahra.9@wright.edu>2021-11-20 03:02:01 -0500
committerS. Nordin Abouzahra <abouzahra.9@wright.edu>2021-11-20 03:14:11 -0500
commit747436dee19d6d7dfbb716627fe0a7e7aee4d57a (patch)
treea154fb8995d8b7b2690148730ca124433cb0f240 /pkgs/tools/filesystems/nilfs-utils
parentf92c3974917dfb07fa941e28438f08a5ffb0ce50 (diff)
downloadnixpkgs-747436dee19d6d7dfbb716627fe0a7e7aee4d57a.tar
nixpkgs-747436dee19d6d7dfbb716627fe0a7e7aee4d57a.tar.gz
nixpkgs-747436dee19d6d7dfbb716627fe0a7e7aee4d57a.tar.bz2
nixpkgs-747436dee19d6d7dfbb716627fe0a7e7aee4d57a.tar.lz
nixpkgs-747436dee19d6d7dfbb716627fe0a7e7aee4d57a.tar.xz
nixpkgs-747436dee19d6d7dfbb716627fe0a7e7aee4d57a.tar.zst
nixpkgs-747436dee19d6d7dfbb716627fe0a7e7aee4d57a.zip
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.
Diffstat (limited to 'pkgs/tools/filesystems/nilfs-utils')
-rw-r--r--pkgs/tools/filesystems/nilfs-utils/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/nilfs-utils/default.nix b/pkgs/tools/filesystems/nilfs-utils/default.nix
index ec227c95573..07c2c5292dc 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"