luajit_2_0: fix the platforms/extraMeta
This commit is contained in:
parent
d2b209d623
commit
9e0f698a49
@ -4,7 +4,8 @@ callPackage ./default.nix {
|
|||||||
version = "2.0.5";
|
version = "2.0.5";
|
||||||
isStable = true;
|
isStable = true;
|
||||||
sha256 = "0yg9q4q6v028bgh85317ykc9whgxgysp76qzaqgq55y6jy11yjw7";
|
sha256 = "0yg9q4q6v028bgh85317ykc9whgxgysp76qzaqgq55y6jy11yjw7";
|
||||||
extraMeta = {
|
extraMeta = { # this isn't precise but it at least stops the useless Hydra build
|
||||||
platforms = lib.filter (p: p != "aarch64-linux") lib.meta.platforms;
|
platforms = with lib; filter (p: p != "aarch64-linux")
|
||||||
|
(platforms.linux ++ platforms.darwin);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -62,12 +62,12 @@ stdenv.mkDerivation rec {
|
|||||||
interpreter = "${self}/bin/lua";
|
interpreter = "${self}/bin/lua";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; extraMeta // {
|
meta = with stdenv.lib; {
|
||||||
description = "High-performance JIT compiler for Lua 5.1";
|
description = "High-performance JIT compiler for Lua 5.1";
|
||||||
homepage = http://luajit.org;
|
homepage = http://luajit.org;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ thoughtpolice smironov vcunat andir ];
|
maintainers = with maintainers; [ thoughtpolice smironov vcunat andir ];
|
||||||
};
|
} // extraMeta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user