diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 35f06606f0f2..f444e51960ca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {