diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-06-08 23:24:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-08 23:24:14 +0200 |
commit | 63874868cee67e5c631d6bc7635e14d2ec7be6a4 (patch) | |
tree | e95808463c4dc64d58b5e70c187a5c073c3523cf | |
parent | f39d9e871adf05f6f61543a4e7193ae27e87f7a4 (diff) | |
parent | 9b96207fa87f703d73f7166a4d7777dee4f82628 (diff) |
Merge pull request #317108 from xTrayambak/nimlsp-use-nim2
nimlsp: compile against Nim 2.0.x instead of Nim 1.6.x
-rw-r--r-- | maintainers/maintainer-list.nix | 5 | ||||
-rw-r--r-- | pkgs/by-name/ni/nimlsp/package.nix | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 58e31f454f065..cdda0527b2b37 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -22520,6 +22520,11 @@ githubId = 46590321; name = "xrelkd"; }; + xtrayambak = { + github = "xTrayambak"; + githubId = 59499552; + name = "Trayambak Rai"; + }; xurei = { email = "olivier.bourdoux@gmail.com"; github = "xurei"; diff --git a/pkgs/by-name/ni/nimlsp/package.nix b/pkgs/by-name/ni/nimlsp/package.nix index 40e1b0fb9ec2d..0cd648b74790d 100644 --- a/pkgs/by-name/ni/nimlsp/package.nix +++ b/pkgs/by-name/ni/nimlsp/package.nix @@ -1,11 +1,9 @@ -{ lib, buildNimPackage, fetchFromGitHub, srcOnly, nim-unwrapped-1 }: +{ lib, buildNimPackage, fetchFromGitHub, srcOnly, nim-unwrapped-2 }: buildNimPackage (finalAttrs: { pname = "nimlsp"; version = "0.4.6"; - requiredNimVersion = 1; - src = fetchFromGitHub { owner = "PMunch"; repo = "nimlsp"; @@ -29,7 +27,7 @@ buildNimPackage (finalAttrs: { nimFlags = [ "--threads:on" - "-d:explicitSourcePath=${srcOnly nim-unwrapped-1}" + "-d:explicitSourcePath=${srcOnly nim-unwrapped-2}" "-d:tempDir=/tmp" ]; @@ -41,6 +39,6 @@ buildNimPackage (finalAttrs: { description = "Language Server Protocol implementation for Nim"; homepage = "https://github.com/PMunch/nimlsp"; license = lib.licenses.mit; - maintainers = [ ]; + maintainers = with lib.maintainers; [ xtrayambak ]; }; }) |