luaPackages.mpack: fix sourceRoot

Uncovered by c3255fe8ec.
This commit is contained in:
Vladimír Čunát 2017-10-31 23:46:32 +01:00
parent 6d1317ab31
commit 681c6f99a8
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -619,7 +619,7 @@ let
# NOTE: For updating, new Lua mpack bindings live at:
# https://github.com/libmpack/libmpack-lua.
src = libmpack.src;
sourceRoot = "libmpack-${libmpack.rev}-src/binding/lua";
sourceRoot = "${src.name}/binding/lua";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libmpack ]; # ++ [ libtool lua ];