fix: version now reads from metadata instead of defaulting to dev, lgx is ignored

This commit is contained in:
erhant 2026-06-17 12:02:36 +03:00
parent 2b37d22226
commit e1b57b707c
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -8,6 +8,9 @@ build/
target/
result
# Nix .lgx module bundle outputs
lez-indexer-module-lgx-*
# Node
resources/

View File

@ -47,7 +47,7 @@
lezIndexerModulePackage = pkgs.stdenv.mkDerivation {
pname = "lez-indexer-module";
version = "dev";
version = (lib.importJSON ./metadata.json).version;
src = ./.;
nativeBuildInputs = [