mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
LAStools: add Wno-narrowing on aarch64 (#343503)
This commit is contained in:
commit
8ed03da050
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user