laszip: fix aarch64-darwin build

Assisted-by: Codex:gpt-5.5
This commit is contained in:
Sam Estep
2026-05-15 08:33:20 -04:00
parent 93e0ab28d7
commit 31b039ecf1
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
fixDarwinDylibNames,
}:
@@ -17,6 +18,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-xZ8IFnqrGt47lN+C6/ibgbIWqpObDf4RHPaGMXw0WZ4=";
};
patches = [
# Fix aarch64-darwin build.
(fetchpatch {
url = "https://github.com/LASzip/LASzip/commit/2274e52076c5f4cbe2d826d690c21713ddd842b4.patch";
hash = "sha256-C6AOJSY8JJCNNA5Fuz3OiQpzSFO/PwI6Wj+WBUW948k=";
})
];
hardeningDisable = [ "format" ]; # -Werror=format-security
nativeBuildInputs = [