scrounge-ntfs: fix build (#437735)

This commit is contained in:
isabel
2025-08-28 09:39:55 +01:00
committed by GitHub
@@ -13,6 +13,13 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-HYrMIMTRPmgAac/vaZ1jaUFchyAl5B0quxgHH0DHJ84=";
};
env.NIX_CFLAGS_COMPILE = "-D_FILE_OFFSET_BITS=64";
postPatch = ''
substituteInPlace src/{list,ntfsx,scrounge}.c \
--replace-fail "lseek64" "lseek"
'';
patches = [
./darwin.diff
];