Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 15 lines 376 B view raw
1{ runCommand, lib, }: 2 3LuaPathSearchPaths: LuaCPathSearchPaths: 4 5let 6 hook = ./setup-hook.sh; 7in runCommand "lua-setup-hook.sh" { 8 # hum doesn't seem to like caps !! BUG ? 9 luapathsearchpaths=lib.escapeShellArgs LuaPathSearchPaths; 10 luacpathsearchpaths=lib.escapeShellArgs LuaCPathSearchPaths; 11} '' 12 cp ${hook} hook.sh 13 substituteAllInPlace hook.sh 14 mv hook.sh $out 15''