Skip to content

Commit

Permalink
Merge pull request #320079 from 0x5a4/update-zls
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jul 28, 2024
2 parents 5346f5d + 8001cc4 commit 6a73382
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions pkgs/development/tools/language-servers/zls/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{ lib
, stdenv
, fetchFromGitHub
, zig_0_12
, zig_0_13
, callPackage
}:

stdenv.mkDerivation (finalAttrs: {
pname = "zls";
version = "0.12.0";
version = "0.13.0";

src = fetchFromGitHub {
owner = "zigtools";
repo = "zls";
rev = finalAttrs.version;
fetchSubmodules = true;
hash = "sha256-2iVDPUj9ExgTooDQmCCtZs3wxBe2be9xjzAk9HedPNY=";
hash = "sha256-vkFGoKCYUk6B40XW2T/pdhir2wzN1kpFmlLcoLwJx1U=";
};

zigBuildFlags = [
"-Dversion_data_path=${zig_0_12.src}/doc/langref.html.in"
"-Dversion_data_path=${zig_0_13.src}/doc/langref.html.in"
];

nativeBuildInputs = [
zig_0_12.hook
zig_0_13.hook
];

postPatch = ''
Expand All @@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://github.com/zigtools/zls/releases/tag/${finalAttrs.version}";
homepage = "https://github.com/zigtools/zls";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ figsoda moni ];
maintainers = with lib.maintainers; [ figsoda moni _0x5a4 ];
platforms = lib.platforms.unix;
};
})
12 changes: 6 additions & 6 deletions pkgs/development/tools/language-servers/zls/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a73382

Please sign in to comment.