mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
lua: use meta.availableOn to pick luajit/lua5_1
This commit is contained in:
parent
c031cc5bf1
commit
f605337abc
@ -33054,7 +33054,7 @@ with pkgs;
|
||||
wrapNeovim = neovim-unwrapped: lib.makeOverridable (neovimUtils.legacyWrapper neovim-unwrapped);
|
||||
neovim-unwrapped = callPackage ../applications/editors/neovim {
|
||||
CoreServices = darwin.apple_sdk.frameworks.CoreServices;
|
||||
lua = if (stdenv.hostPlatform.isRiscV64 || stdenv.hostPlatform.isRiscV64) then lua5_1 else luajit;
|
||||
lua = if lib.meta.availableOn stdenv.hostPlatform luajit then luajit else lua5_1;
|
||||
};
|
||||
|
||||
neovimUtils = callPackage ../applications/editors/neovim/utils.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user