luajit: switch to 2.0.5 on aarch64 by default
This commit is contained in:
parent
e36b588f93
commit
b8726c346c
@ -1,7 +1,12 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, hostPlatform }:
|
||||||
rec {
|
rec {
|
||||||
|
|
||||||
luajit = luajit_2_1;
|
luajit =
|
||||||
|
# Compatibility problems with lightuserdata pointers; see:
|
||||||
|
# https://github.com/LuaJIT/LuaJIT/blob/v2.1/doc/status.html#L101
|
||||||
|
if hostPlatform.is64bit && (hostPlatform.isArm || hostPlatform.isSunOS)
|
||||||
|
then luajit_2_0
|
||||||
|
else luajit_2_1;
|
||||||
|
|
||||||
luajit_2_0 = generic {
|
luajit_2_0 = generic {
|
||||||
version = "2.0.5";
|
version = "2.0.5";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user