summary refs log tree commit diff
path: root/pkgs/applications/gis
diff options
context:
space:
mode:
authorJason Hilton <jasface901@gmail.com>2017-09-07 09:20:55 -0700
committerMatthew Pickering <matthewtpickering@gmail.com>2018-04-17 09:29:02 +0100
commit577bbdc50148686e08b507a8920cf696e855da45 (patch)
tree983b2bf0cc8479215fd549901f1900c7a3389aca /pkgs/applications/gis
parent406e20b8329b51887801879bad0896aed693aef6 (diff)
downloadnixpkgs-577bbdc50148686e08b507a8920cf696e855da45.tar
nixpkgs-577bbdc50148686e08b507a8920cf696e855da45.tar.gz
nixpkgs-577bbdc50148686e08b507a8920cf696e855da45.tar.bz2
nixpkgs-577bbdc50148686e08b507a8920cf696e855da45.tar.lz
nixpkgs-577bbdc50148686e08b507a8920cf696e855da45.tar.xz
nixpkgs-577bbdc50148686e08b507a8920cf696e855da45.tar.zst
nixpkgs-577bbdc50148686e08b507a8920cf696e855da45.zip
grass: compile with libLAS
Diffstat (limited to 'pkgs/applications/gis')
-rw-r--r--pkgs/applications/gis/grass/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix
index d4e2043eaa7..b2404df8e56 100644
--- a/pkgs/applications/gis/grass/default.nix
+++ b/pkgs/applications/gis/grass/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, flex, bison, pkgconfig, zlib, libtiff, libpng, fftw
 , cairo, readline, ffmpeg, makeWrapper, wxGTK30, netcdf, blas
-, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages
+, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages, libLAS
 }:
 
 stdenv.mkDerivation {
@@ -12,7 +12,8 @@ stdenv.mkDerivation {
 
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
-  readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas ]
+  readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas
+  libLAS ]
     ++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
 
   # On Darwin the installer tries to symlink the help files into a system
@@ -33,6 +34,7 @@ stdenv.mkDerivation {
     "--with-mysql-includes=${mysql.connector-c}/include/mysql"
     "--with-mysql-libs=${mysql.connector-c}/lib/mysql"
     "--with-blas"
+    "--with-liblas=${libLAS}/bin/liblas-config"
   ];
 
   # Otherwise a very confusing "Can't load GDAL library" error