luajit: declare lua in propagatedBuildInputs, remove from osrm-backend's buildInputs
This commit is contained in:
parent
c8da20fa5e
commit
5a45003800
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ boost-build lua boost ];
|
buildInputs = [ boost-build lua boost ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ lua ];
|
||||||
|
|
||||||
buildPhase = "LUA_PATH=${lua} bjam release";
|
buildPhase = "LUA_PATH=${lua} bjam release";
|
||||||
|
|
||||||
installPhase = "LUA_PATH=${lua} bjam --prefix=$out release install";
|
installPhase = "LUA_PATH=${lua} bjam --prefix=$out release install";
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ cmake luabind luabind.lua libosmpbf stxxl tbb boost expat protobuf bzip2 zlib ];
|
buildInputs = [ cmake luabind libosmpbf stxxl tbb boost expat protobuf bzip2 zlib ];
|
||||||
|
|
||||||
postInstall = "mkdir -p $out/share/osrm-backend && cp -r ../profiles $out/share/osrm-backend/profiles";
|
postInstall = "mkdir -p $out/share/osrm-backend && cp -r ../profiles $out/share/osrm-backend/profiles";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user