Skip to content

Commit ee3d455

Browse files
committed
nimlsp: upgrade to nim
Removed nim 2_0 upgrades to nim which is 2.2.6
1 parent 4875ac6 commit ee3d455

2 files changed

Lines changed: 7 additions & 15 deletions

File tree

pkgs/by-name/ni/nimlsp/package.nix

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,9 @@
33
buildNimPackage,
44
fetchFromGitHub,
55
srcOnly,
6-
nim-2_0,
7-
nim-unwrapped-2_0,
6+
nim-unwrapped,
87
}:
9-
10-
let
11-
buildNimPackage' = buildNimPackage.override {
12-
# Do not build with Nim-2.2.x.
13-
nim2 = nim-2_0;
14-
};
15-
in
16-
buildNimPackage' (finalAttrs: {
8+
buildNimPackage (finalAttrs: {
179
pname = "nimlsp";
1810
version = "0.4.6";
1911

@@ -40,7 +32,7 @@ buildNimPackage' (finalAttrs: {
4032

4133
nimFlags = [
4234
"--threads:on"
43-
"-d:explicitSourcePath=${srcOnly nim-unwrapped-2_0}"
35+
"-d:explicitSourcePath=${srcOnly nim-unwrapped}"
4436
"-d:tempDir=/tmp"
4537
];
4638

pkgs/top-level/aliases.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,16 +1202,16 @@ mapAliases {
12021202
ngrid = throw "'ngrid' has been removed as it has been unmaintained upstream and broken"; # Added 2025-11-15
12031203
nim1 = throw "'nim1' has reached EOL, please use 'nim'"; # Added 2025-11-12
12041204
nim-1_0 = throw "'nim-1_0' has reached EOL, please use 'nim'"; # Added 2025-11-12
1205+
nim-2 = throw "'nim-2' has been upgraded and removed, please use 'nim'"; # Added 2025-27-12
12051206
nim-unwrapped-1 = throw "'nim-unwrapped-1' has reached EOL, please use 'nim-unwrapped'"; # Added 2025-11-12
1207+
nim-unwrapped-2 = throw "'nim-unwrapped-2' has been upgraded and removed, please use 'nim-unwrapped'"; # Added 2025-27-12
1208+
nim-unwrapped-2_0 = throw "'nim-unwrapped-2_0' has been upgraded and removed, please use 'nim-unwrapped'"; # Added 2025-27-12
1209+
nim-unwrapped-2_2 = throw "'nim-unwrapped-2_2' has been upgraded and removed, please use 'nim-unwrapped'"; # Added 2025-27-12
12061210
nim-unwrapped_1_0 = throw "'nim-unwrapped_1_0' has reached EOL, please use 'nim-unwrapped'"; # Added 2025-11-12
12071211
nim_1_0 = throw "'nim_1_0' has reached EOL, please use 'nim'"; # Added 2025-11-12
12081212
nim_2 = throw "'nim_2' has been upgraded and removed, please use 'nim'"; # Added 2025-27-12
1209-
nim-2 = throw "'nim-2' has been upgraded and removed, please use 'nim'"; # Added 2025-27-12
12101213
nim_2_0 = throw "'nim_2_0' has been upgraded and removed, please use 'nim'"; # Added 2025-27-12
12111214
nim_2_2 = throw "'nim_2_2' has been upgraded and removed, please use 'nim'"; # Added 2025-27-12
1212-
nim-unwrapped-2 = throw "'nim-unwrapped-2' has been upgraded and removed, please use 'nim-unwrapped'"; # Added 2025-27-12
1213-
nim-unwrapped-2_0 = throw "'nim-unwrapped-2_0' has been upgraded and removed, please use 'nim-unwrapped'"; # Added 2025-27-12
1214-
nim-unwrapped-2_2 = throw "'nim-unwrapped-2_2' has been upgraded and removed, please use 'nim-unwrapped'"; # Added 2025-27-12
12151215
nix-direnv-flakes = throw "'nix-direnv-flakes' has been renamed to/replaced by 'nix-direnv'"; # Converted to throw 2025-10-27
12161216
nix-ld-rs = throw "'nix-ld-rs' has been renamed to/replaced by 'nix-ld'"; # Converted to throw 2025-10-27
12171217
nix-linter = throw "nix-linter has been removed as it was broken for 3 years and unmaintained upstream"; # Added 2025-09-06

0 commit comments

Comments
 (0)