diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2016-05-03 16:44:10 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2016-05-06 15:09:49 +0200 |
commit | 2f35e223b1e5dab2470c928c85e7119c7cbeb38c (patch) | |
tree | 0dab1bd1a3a2b098526cca4b52480838adc46136 | |
parent | 9f6afb7d78771f283b84d4dbdc5c5a08291a738c (diff) | |
download | nixlib-2f35e223b1e5dab2470c928c85e7119c7cbeb38c.tar nixlib-2f35e223b1e5dab2470c928c85e7119c7cbeb38c.tar.gz nixlib-2f35e223b1e5dab2470c928c85e7119c7cbeb38c.tar.bz2 nixlib-2f35e223b1e5dab2470c928c85e7119c7cbeb38c.tar.lz nixlib-2f35e223b1e5dab2470c928c85e7119c7cbeb38c.tar.xz nixlib-2f35e223b1e5dab2470c928c85e7119c7cbeb38c.tar.zst nixlib-2f35e223b1e5dab2470c928c85e7119c7cbeb38c.zip |
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.
-rw-r--r-- | pkgs/os-specific/linux/lvm2/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/lvm2/default.nix b/pkgs/os-specific/linux/lvm2/default.nix index 9147cb813714..5af100eacb29 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 = '' |