Skip to content

Commit

Permalink
osrm-backend: Use nativeBuildInputs for compile-time-only deps
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Jan 3, 2018
1 parent 340cadd commit ab1fdc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/servers/osrm-backend/default.nix
Expand Up @@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1ajgybjx7g6qzddavab8bj7il7wn5wy24nivjj5rk84mfbi71s5v";
};

buildInputs = [ cmake pkgconfig bzip2 libxml2 libzip boost lua luabind tbb expat];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ bzip2 libxml2 libzip boost lua luabind tbb expat ];

postInstall = "mkdir -p $out/share/osrm-backend && cp -r ../profiles $out/share/osrm-backend/profiles";

Expand Down

0 comments on commit ab1fdc7

Please sign in to comment.