From 681c6f99a85bc1fc9cc5ecd4c7cfa361ef75e8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 31 Oct 2017 23:46:32 +0100 Subject: [PATCH] luaPackages.mpack: fix sourceRoot Uncovered by c3255fe8ec. --- pkgs/top-level/lua-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index 7a0b0a56c9b4..f233ae43ad10 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -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 ];