diff options
author | Reed Riley <reed@riley.engineer> | 2024-05-09 21:27:45 -0700 |
---|---|---|
committer | Reed Riley <reed@riley.engineer> | 2024-05-10 06:29:03 -0700 |
commit | 20362ae38f86c948b5505d7a006474804cf038ee (patch) | |
tree | 9dc7111882ba9f7468d411e068f764e5715cd5c5 /pkgs/tools/filesystems | |
parent | 7527f25e87147b2f9f7d52a08b81696f0b9a4025 (diff) |
bcachefs-tools: patch to fix boot with bcachefs-tools-1.7.0
fixes 309388
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r-- | pkgs/tools/filesystems/bcachefs-tools/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/bcachefs-tools/default.nix b/pkgs/tools/filesystems/bcachefs-tools/default.nix index 4170271f4a796..ec268aac31185 100644 --- a/pkgs/tools/filesystems/bcachefs-tools/default.nix +++ b/pkgs/tools/filesystems/bcachefs-tools/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, pkg-config, libuuid, libsodium, @@ -72,6 +73,15 @@ stdenv.mkDerivation (finalAttrs: { # FIXME: Try enabling this once the default linux kernel is at least 6.7 doCheck = false; # needs bcachefs module loaded on builder + patches = [ + # code refactoring of bcachefs-tools broke reading passphrases from stdin (vs. terminal) + # upstream issue https://github.com/koverstreet/bcachefs-tools/issues/261 + (fetchpatch { + url = "https://github.com/koverstreet/bcachefs-tools/commit/38b0cb721d2a35f5a4af429bc7bd367461f2fa26.patch"; + hash = "sha256-/9reye+Qoa+EMkS+wfdX+KwDeLHHJ/S+Qm7sWl0MtqM="; + }) +]; + preCheck = lib.optionalString (!fuseSupport) '' rm tests/test_fuse.py ''; |