about summary refs log tree commit diff
path: root/pkgs/development/libraries/LAStools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/LAStools/default.nix')
-rw-r--r--pkgs/development/libraries/LAStools/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/LAStools/default.nix b/pkgs/development/libraries/LAStools/default.nix
index 8a34168484eb..e4d86733ab39 100644
--- a/pkgs/development/libraries/LAStools/default.nix
+++ b/pkgs/development/libraries/LAStools/default.nix
@@ -1,4 +1,9 @@
-{ lib, stdenv, fetchFromGitHub, cmake }:
+{
+  lib,
+  stdenv,
+  fetchFromGitHub,
+  cmake,
+}:
 
 stdenv.mkDerivation rec {
   pname = "LAStools";
@@ -19,6 +24,8 @@ stdenv.mkDerivation rec {
     "format"
   ];
 
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isAarch64 "-Wno-narrowing";
+
   nativeBuildInputs = [
     cmake
   ];