python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / interpreters / lua-5 / hooks / luarocks-move-data.sh
blob9870c9976eae5bd368519823ffe187ec8230b0e0
1 # luarocks installs data in a non-overridable location. Until a proper luarocks patch,
2 # we move the files around ourselves
3 echo "Sourcing luarocks-move-data-hook.sh"
5 luarocksMoveDataHook () {
6 echo "Executing luarocksMoveDataHook"
7 if [ -d "$out/$rocksSubdir" ]; then
8 cp -rfv "$out/$rocksSubdir/$pname/$rockspecVersion/." "$out"
9 fi
11 echo "Finished executing luarocksMoveDataHook"
14 echo "Using luarocksMoveDataHook"
15 preDistPhases+=" luarocksMoveDataHook"