zfs: Fix libblkid detection (backport from upstream)

This fixes issues with importing ZFS pools, such as when the ZFS device is a
partition that covers the end of the disk.

See: https://github.com/zfsonlinux/zfs/issues/1684
This commit is contained in:
Ricardo M. Correia
2014-03-04 12:58:11 +01:00
parent 5d05dde655
commit e0fe5e7c38
2 changed files with 119 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "18b5f18k8mwb17r5ippsilmp1a2sqjw9fwn0z82159dkhsadg33b";
};
patches = [ ./mount_zfs_prefix.patch ./nix-build.patch ];
patches = [ ./mount_zfs_prefix.patch ./nix-build.patch ./libblkid-1db7b9b.patch ];
buildInputs = [ spl perl autoconf automake libtool zlib libuuid coreutils ];