From df27c35e9a0515146eb7db07e11af59e520214a6 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 28 Aug 2016 00:58:06 +0300 Subject: [PATCH] navit: fix build --- pkgs/applications/misc/navit/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/navit/default.nix b/pkgs/applications/misc/navit/default.nix index 1be39c66642..cc62354161c 100644 --- a/pkgs/applications/misc/navit/default.nix +++ b/pkgs/applications/misc/navit/default.nix @@ -9,9 +9,12 @@ stdenv.mkDerivation rec { sha256 = "1xx62l5srfhh9cfi7n3pxj8hpcgr1rpa0hzfmbrqadzv09z36723"; }; - # 'cvs' is only for the autogen - buildInputs = [ pkgconfig gtk SDL fontconfig freetype imlib2 SDL_image mesa - libXmu freeglut python gettext quesoglc gd postgresql cmake qt4 SDL_ttf fribidi ]; + buildInputs = [ gtk SDL fontconfig freetype imlib2 SDL_image mesa + libXmu freeglut python gettext quesoglc gd postgresql qt4 SDL_ttf fribidi ]; + + nativeBuildInputs = [ pkgconfig cmake ]; + + NIX_CFLAGS_COMPILE = [ "-I${SDL.dev}/include/SDL" ]; cmakeFlags = [ "-DSAMPLE_MAP=n" ];