fix(server): Update version; Small fixes

Signed-off-by: Myzel394 <github.7a2op@simplelogin.co>
This commit is contained in:
Myzel394 2025-05-29 18:02:17 +02:00
parent 429c2cd4be
commit 3c9ee9da53
No known key found for this signature in database
GPG Key ID: 3B955307C2FC2F11
4 changed files with 14 additions and 14 deletions

12
flake.lock generated
View File

@ -26,11 +26,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745875161, "lastModified": 1742209644,
"narHash": "sha256-0YkWCS13jpoo3+sX/3kcgdxBNt1VZTmvF+FhZb4rFKI=", "narHash": "sha256-jMy1XqXqD0/tJprEbUmKilTkvbDY/C0ZGSsJJH4TNCE=",
"owner": "tweag", "owner": "tweag",
"repo": "gomod2nix", "repo": "gomod2nix",
"rev": "2cbd7fdd6eeab65c494cc426e18f4e4d2a5e35c0", "rev": "8f3534eb8f6c5c3fce799376dc3b91bae6b11884",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -41,11 +41,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1748370509, "lastModified": 1742669843,
"narHash": "sha256-QlL8slIgc16W5UaI3w7xHQEP+Qmv/6vSNTpoZrrSlbk=", "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4faa5f5321320e49a78ae7848582f684d64783e9", "rev": "1e5b653dff12029333a6546c11e108ede13052eb",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -23,26 +23,26 @@
"aarch64-windows" "aarch64-windows"
] (system: ] (system:
let let
version = "0.2.1"; # CI:CD-VERSION version = "0.2.2"; # CI:CD-VERSION
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
overlays = [ overlays = [
(final: prev: { (final: prev: {
go = prev.go_1_24; go = prev.go_1_22;
buildGoModule = prev.buildGo124Module; buildGoModule = prev.buildGo122Module;
}) })
gomod2nix.overlays.default gomod2nix.overlays.default
]; ];
}; };
inputs = [ inputs = [
pkgs.go_1_24 pkgs.go_1_22
]; ];
serverUncompressed = pkgs.buildGoModule { serverUncompressed = pkgs.buildGoModule {
nativeBuildInputs = inputs; nativeBuildInputs = inputs;
pname = "github.com/Myzel394/config-lsp"; pname = "github.com/Myzel394/config-lsp";
version = version; version = version;
src = ./server; src = ./server;
vendorHash = "sha256-ttr45N8i86mSJX9Scy/Cf+YlxU5wAKMVb0YhKg28JKM="; vendorHash = "sha256-kfWB99unxBmDVseOt9LmFBVSE3DBS5969M5oZJMlAAQ=";
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];
checkPhase = '' checkPhase = ''
go test -v $(pwd)/... go test -v $(pwd)/...
@ -133,7 +133,7 @@
}; };
devShells.default = let devShells.default = let
version = "0.18.1"; version = "0.16.2";
ourGopls = pkgs.buildGoModule { ourGopls = pkgs.buildGoModule {
pname = "gopls"; pname = "gopls";
inherit version; inherit version;

View File

@ -2,4 +2,4 @@ package roothandler
// The comment below at the end of the line is required for the CI:CD to work. // The comment below at the end of the line is required for the CI:CD to work.
// Do not remove it // Do not remove it
var Version = "0.2.1" // CI:CD-VERSION var Version = "0.2.2" // CI:CD-VERSION

View File

@ -2,7 +2,7 @@
"name": "config-lsp", "name": "config-lsp",
"description": "Language Features (completions, diagnostics, etc.) for your config files: gitconfig, fstab, aliases, hosts, wireguard, ssh_config, sshd_config, and more to come!", "description": "Language Features (completions, diagnostics, etc.) for your config files: gitconfig, fstab, aliases, hosts, wireguard, ssh_config, sshd_config, and more to come!",
"author": "Myzel394", "author": "Myzel394",
"version": "0.2.1", "version": "0.2.2",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/Myzel394/config-lsp" "url": "https://github.com/Myzel394/config-lsp"