scrounge-ntfs: fix build

This commit is contained in:
Sigmanificient
2025-08-28 02:45:45 +02:00
parent f017b81b75
commit c9ffcb161e
@@ -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
];