mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
Merge pull request #317108 from xTrayambak/nimlsp-use-nim2
nimlsp: compile against Nim 2.0.x instead of Nim 1.6.x
This commit is contained in:
commit
63874868ce
@ -22520,6 +22520,11 @@
|
||||
githubId = 46590321;
|
||||
name = "xrelkd";
|
||||
};
|
||||
xtrayambak = {
|
||||
github = "xTrayambak";
|
||||
githubId = 59499552;
|
||||
name = "Trayambak Rai";
|
||||
};
|
||||
xurei = {
|
||||
email = "olivier.bourdoux@gmail.com";
|
||||
github = "xurei";
|
||||
|
@ -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 ];
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user