asm-lsp: refactor

this shouldn't create any rebuilds
This commit is contained in:
quantenzitrone
2026-02-07 09:48:26 +01:00
parent 0ffa8c7803
commit cd7c5661f9
+4 -6
View File
@@ -6,17 +6,15 @@
pkg-config,
openssl,
}:
let
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asm-lsp";
version = "0.10.1";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "bergercookie";
repo = "asm-lsp";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-vEilIoIK6fxZBhmyDueP2zvbh1/t2wd4cnq/0y6p+TI=";
};
@@ -42,4 +40,4 @@ rustPlatform.buildRustPackage {
mainProgram = "asm-lsp";
platforms = lib.platforms.unix;
};
}
})