Skip to content

Commit 574edcd

Browse files
committedNov 28, 2017
awesome: fix LUA_PATH/LUA_CPATH to lgi
Otherwise it would not start.
1 parent fac570a commit 574edcd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎pkgs/applications/window-managers/awesome/default.nix

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
with luaPackages; stdenv.mkDerivation rec {
1111
name = "awesome-${version}";
1212
version = "4.2";
13-
13+
1414
src = fetchFromGitHub {
1515
owner = "awesomewm";
1616
repo = "awesome";
@@ -25,10 +25,10 @@ with luaPackages; stdenv.mkDerivation rec {
2525
imagemagick
2626
makeWrapper
2727
pkgconfig
28-
xmlto docbook_xml_dtd_45
28+
xmlto docbook_xml_dtd_45
2929
docbook_xsl findXMLCatalogs
3030
];
31-
31+
3232
propagatedUserEnvPkgs = [ hicolor_icon_theme ];
3333
buildInputs = [ cairo librsvg dbus gdk_pixbuf gobjectIntrospection
3434
git lgi libpthreadstubs libstartup_notification
@@ -49,8 +49,8 @@ with luaPackages; stdenv.mkDerivation rec {
4949
postInstall = ''
5050
wrapProgram $out/bin/awesome \
5151
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
52-
--prefix LUA_CPATH ";" '"${lgi}/lib/lua/${lua.luaversion}/?.so"' \
53-
--prefix LUA_PATH ";" '"${lgi}/share/lua/${lua.luaversion}/?.lua;${lgi}/share/lua/${lua.luaversion}/lgi/?.lua"' \
52+
--prefix LUA_CPATH ";" '${lgi}/lib/lua/${lua.luaversion}/?.so' \
53+
--prefix LUA_PATH ";" '${lgi}/share/lua/${lua.luaversion}/?.lua' \
5454
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
5555
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
5656
--prefix PATH : "${stdenv.lib.makeBinPath [ compton unclutter procps iproute coreutils curl alsaUtils findutils xterm ]}"

0 commit comments

Comments
 (0)
Please sign in to comment.