mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
luajit_2_0: fix the platforms/extraMeta
This commit is contained in:
parent
d2b209d623
commit
9e0f698a49
2 changed files with 5 additions and 4 deletions
|
@ -4,7 +4,8 @@ callPackage ./default.nix {
|
|||
version = "2.0.5";
|
||||
isStable = true;
|
||||
sha256 = "0yg9q4q6v028bgh85317ykc9whgxgysp76qzaqgq55y6jy11yjw7";
|
||||
extraMeta = {
|
||||
platforms = lib.filter (p: p != "aarch64-linux") lib.meta.platforms;
|
||||
extraMeta = { # this isn't precise but it at least stops the useless Hydra build
|
||||
platforms = with lib; filter (p: p != "aarch64-linux")
|
||||
(platforms.linux ++ platforms.darwin);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -62,12 +62,12 @@ stdenv.mkDerivation rec {
|
|||
interpreter = "${self}/bin/lua";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; extraMeta // {
|
||||
meta = with stdenv.lib; {
|
||||
description = "High-performance JIT compiler for Lua 5.1";
|
||||
homepage = http://luajit.org;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ thoughtpolice smironov vcunat andir ];
|
||||
};
|
||||
} // extraMeta;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue