cryptsetup: fix tests on zfs

This commit is contained in:
Tristan Ross
2025-05-20 22:21:19 -07:00
parent eeba612fdb
commit 1120d4faa7
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch,
lvm2,
json_c,
asciidoctor,
@@ -43,6 +44,14 @@ stdenv.mkDerivation rec {
patches = [
# Allow reading tokens from a relative path, see #167994
./relative-token-path.patch
# Do not use pagesize as fallback for block size.
# Remove when https://gitlab.com/cryptsetup/cryptsetup/-/merge_requests/782 is in the latest stable release
# Fixes https://gitlab.com/cryptsetup/cryptsetup/-/issues/943
(fetchpatch {
url = "https://gitlab.com/cryptsetup/cryptsetup/-/commit/a39a0d00e504ad7a89442874f72cf0561d6089c4.diff";
hash = "sha256-teQ/uFYrKuS0ksMEv7rP+d9EUuOl3sINsNhDC88P0xw=";
})
];
postPatch = ''