diff options
author | Artemis Tosini <me@artem.ist> | 2021-11-06 21:24:16 +0000 |
---|---|---|
committer | Artemis Tosini <me@artem.ist> | 2021-11-06 21:32:57 +0000 |
commit | 8f4289267c3083e18e5f71e4ed5105d1c99109c1 (patch) | |
tree | dde71cc9a9108e5b268e5f6d230640a7a06c639e /pkgs/tools/filesystems/bcachefs-tools | |
parent | ea8596e4de61b1d97227569f1b8da89bd8ddde8c (diff) |
linux_testing_bcachefs, bcachefs-tools: unstable-2021-07-08 → unstable-2021-11-06
bcachefs now supports snapshots so we need the latest version to use them. Additionally, it appears to build on AArch64 so I've removed the x86 requirement.
Diffstat (limited to 'pkgs/tools/filesystems/bcachefs-tools')
-rw-r--r-- | pkgs/tools/filesystems/bcachefs-tools/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/tools/filesystems/bcachefs-tools/default.nix b/pkgs/tools/filesystems/bcachefs-tools/default.nix index be7a42e19e9d5..b8742075dd84b 100644 --- a/pkgs/tools/filesystems/bcachefs-tools/default.nix +++ b/pkgs/tools/filesystems/bcachefs-tools/default.nix @@ -22,23 +22,24 @@ stdenv.mkDerivation { pname = "bcachefs-tools"; - version = "unstable-2021-07-08"; + version = "unstable-2021-11-06"; src = fetchFromGitHub { owner = "koverstreet"; repo = "bcachefs-tools"; - rev = "050d5f7bcf08bd02f5077a1c5559f352fa449e1e"; - sha256 = "15bl9ni0ckmvs5d7hi6v26z690rrmkb7dx00skn6gwq87ffz3imw"; + rev = "5b84952401146fec9a181a40877352f7faf9ee7b"; + sha256 = "09zs2h3vzqn163v4i9lrvgy9gcjlw24lld7715j3kyyxnc5vav32"; }; postPatch = '' + patchShebangs . substituteInPlace Makefile \ --replace "pytest-3" "pytest --verbose" \ --replace "INITRAMFS_DIR=/etc/initramfs-tools" \ "INITRAMFS_DIR=${placeholder "out"}/etc/initramfs-tools" ''; - nativeBuildInputs = [ pkg-config docutils ]; + nativeBuildInputs = [ pkg-config docutils python3Packages.python ]; buildInputs = [ libuuid libscrypt libsodium keyutils liburcu zlib libaio @@ -64,6 +65,6 @@ stdenv.mkDerivation { homepage = "https://bcachefs.org/"; license = licenses.gpl2; maintainers = with maintainers; [ davidak chiiruno ]; - platforms = [ "x86_64-linux" ]; # does not build on aarch64, see https://github.com/koverstreet/bcachefs-tools/issues/39 + platforms = platforms.linux; }; } |