3
0
Fork 0
forked from mirrors/nixpkgs

osrm-backend: Use nativeBuildInputs for compile-time-only deps

This commit is contained in:
adisbladis 2018-01-03 14:42:56 +01:00
parent 340cadd97d
commit ab1fdc784d
No known key found for this signature in database
GPG key ID: ED58F95069B004F5

View file

@ -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";