Skip to content

Commit

Permalink
lua: use meta.availableOn to pick luajit/lua5_1
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph authored and Mindavi committed Jan 6, 2023
1 parent c031cc5 commit f605337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f605337

Please sign in to comment.