From 2f35e223b1e5dab2470c928c85e7119c7cbeb38c Mon Sep 17 00:00:00 2001 From: LluĂ­s Batlle i Rossell Date: Tue, 3 May 2016 16:44:10 +0200 Subject: Adding libuuid (libblkid) to lvm2. It wants it to detect if there are filesystems present in block devices, in case of pvcreate. Otherwise it complaints "lvm built without blkid support" and lacks the feature of detecting/wiping. --- pkgs/os-specific/linux/lvm2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific') diff --git a/pkgs/os-specific/linux/lvm2/default.nix b/pkgs/os-specific/linux/lvm2/default.nix index 9147cb81371..5af100eacb2 100644 --- a/pkgs/os-specific/linux/lvm2/default.nix +++ b/pkgs/os-specific/linux/lvm2/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, systemd, libudev, utillinux, coreutils, enable_dmeventd ? false }: +{ stdenv, fetchurl, pkgconfig, systemd, libudev, utillinux, coreutils, libuuid, enable_dmeventd ? false }: let version = "2.02.140"; @@ -22,7 +22,7 @@ stdenv.mkDerivation { ] ++ stdenv.lib.optional enable_dmeventd " --enable-dmeventd"; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ libudev ]; + buildInputs = [ libudev libuuid ]; preConfigure = '' -- cgit 1.4.1