Created
January 24, 2016 14:10
-
-
Save enko/b41e8bfbb41b670d8e3c to your computer and use it in GitHub Desktop.
nix-shell environment for [riddim](http://code.zash.se/riddim/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; { | |
luaEnv = stdenv.mkDerivation { | |
name = "lua"; | |
buildInputs = [ stdenv lua51Packages.luasocket lua51Packages.luaexpat lua51Packages.luasec ]; | |
LUA_PATH="${lua51Packages.luasec}/lib/lua/5.1/?.lua;${lua51Packages.luaexpat}/share/lua/5.1/?.lua;${lua51Packages.luasocket}/share/lua/5.\ | |
1/?.lua;./?.lua"; | |
LUA_CPATH="${lua51Packages.luasec}/lib/lua/5.1/?.so;${lua51Packages.luaexpat}/lib/lua/5.1/?.so;${lua51Packages.luasocket}/lib/lua/5.1/?.s\ | |
o;./?.so;/usr/lib/lua/5.1/?.so;/usr/lib/lua/5.1/loadall.so"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment