about summary refs log tree commit diff
path: root/pkgs/applications/gis
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2018-08-11 17:18:58 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2018-08-11 22:38:01 +0100
commit115027abe153ceb7872be82f13959a9e5136d2f2 (patch)
tree10ac7806d9252adb95b622859b20f6d60bb7a1ea /pkgs/applications/gis
parentf5b097b34606cee52021f28f7b86abff4b31a694 (diff)
downloadnixlib-115027abe153ceb7872be82f13959a9e5136d2f2.tar
nixlib-115027abe153ceb7872be82f13959a9e5136d2f2.tar.gz
nixlib-115027abe153ceb7872be82f13959a9e5136d2f2.tar.bz2
nixlib-115027abe153ceb7872be82f13959a9e5136d2f2.tar.lz
nixlib-115027abe153ceb7872be82f13959a9e5136d2f2.tar.xz
nixlib-115027abe153ceb7872be82f13959a9e5136d2f2.tar.zst
nixlib-115027abe153ceb7872be82f13959a9e5136d2f2.zip
Fix linux build
Diffstat (limited to 'pkgs/applications/gis')
-rw-r--r--pkgs/applications/gis/saga/lts.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/gis/saga/lts.nix b/pkgs/applications/gis/saga/lts.nix
index a0e9d64ac8e8..ed2fb1a65ada 100644
--- a/pkgs/applications/gis/saga/lts.nix
+++ b/pkgs/applications/gis/saga/lts.nix
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
   # for why the have additional buildInputs on darwin
   buildInputs = [ autoreconfHook gdal wxGTK30 proj libharu opencv vigra
                   postgresql libiodbc lzma jasper
-                  Cocoa unixODBC poppler hdf4.out hdf5 netcdf sqlite ];
+                  unixODBC poppler hdf4.out hdf5 netcdf sqlite ]
+                ++ stdenv.lib.optional stdenv.isDarwin Cocoa ;
 
   enableParallelBuilding = true;