include share directory

This commit is contained in:
Markus Kohlhase 2014-07-01 19:16:24 +02:00
parent 807cd4b4d4
commit 0d30718357

View file

@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/" mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/"
rmdir $out/{share,lib}/lua/5.1 $out/{share,lib}/lua rmdir $out/{share,lib}/lua/5.1 $out/{share,lib}/lua
wrapProgram $out/bin/lua \ wrapProgram $out/bin/lua \
--set LUA_PATH '$HOME/.nix-profile/lib/lua/5.1/?.lua' \ --set LUA_PATH '"$HOME/.nix-profile/lib/lua/5.1/?.lua;$HOME/.nix-profile/share/lua/5.1/?.lua"' \
--set LUA_CPATH '$HOME/.nix-profile/lib/lua/5.1/?.so' --set LUA_CPATH '"$HOME/.nix-profile/lib/lua/5.1/?.so;$HOME/.nix-profile/share/lua/5.1/?.so"'
''; '';
meta = { meta = {