mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
lua-language-server: move to by-name
This commit is contained in:
@@ -2,11 +2,14 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
|
||||
# nativeBuildInputs
|
||||
ninja,
|
||||
makeWrapper,
|
||||
CoreFoundation,
|
||||
Foundation,
|
||||
ditto,
|
||||
|
||||
# buildInputs
|
||||
apple-sdk_11,
|
||||
darwinMinVersionHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
@@ -28,9 +31,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
CoreFoundation
|
||||
Foundation
|
||||
ditto
|
||||
darwin.ditto
|
||||
# aligned_alloc
|
||||
apple-sdk_11
|
||||
(darwinMinVersionHook "10.15")
|
||||
];
|
||||
|
||||
postPatch =
|
||||
@@ -7929,11 +7929,6 @@ with pkgs;
|
||||
|
||||
fortran-language-server = python3.pkgs.callPackage ../development/tools/language-servers/fortran-language-server { };
|
||||
|
||||
lua-language-server = darwin.apple_sdk_11_0.callPackage ../development/tools/language-servers/lua-language-server {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation Foundation;
|
||||
inherit (darwin) ditto;
|
||||
};
|
||||
|
||||
inherit (callPackages ../development/tools/language-servers/nixd {
|
||||
llvmPackages = llvmPackages_16;
|
||||
nix = nixVersions.nix_2_19;
|
||||
|
||||
Reference in New Issue
Block a user