mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
include share directory
This commit is contained in:
parent
807cd4b4d4
commit
0d30718357
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
|
|||
mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/"
|
||||
rmdir $out/{share,lib}/lua/5.1 $out/{share,lib}/lua
|
||||
wrapProgram $out/bin/lua \
|
||||
--set LUA_PATH '$HOME/.nix-profile/lib/lua/5.1/?.lua' \
|
||||
--set LUA_CPATH '$HOME/.nix-profile/lib/lua/5.1/?.so'
|
||||
--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;$HOME/.nix-profile/share/lua/5.1/?.so"'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue