nixpkgs/pkgs/tools/filesystems/btrfsprogs/default.nix
Mathijs Kwik 3d0b5b7a8f btrfs-progs: small patch to fix listing subvolumes on kernel 3.6+
The btrfs cleaner, introduced in 3.6 leaves some unresolvable entries,
which the userspace utils don't know how to handle.
2013-01-01 13:50:14 +01:00

26 lines
741 B
Nix

{ stdenv, fetchgit, zlib, libuuid, acl, attr, e2fsprogs }:
let version = "0.20pre20121005"; in
stdenv.mkDerivation {
name = "btrfs-progs-${version}";
src = fetchgit {
url = "git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git";
rev = "91d9eec1ff044394f2b98ee7fcb76713dd33b994";
sha256 = "72d4cd4fb23d876a17146d6231ad40a2151fa47c648485c54cf7478239b43764";
};
patches = [ ./subvol-listing.patch ];
buildInputs = [ zlib libuuid acl attr e2fsprogs ];
makeFlags = "prefix=$(out)";
meta = {
description = "Utilities for the btrfs filesystem";
homepage = https://btrfs.wiki.kernel.org/;
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.linux;
};
}