exo: enable __structuredAttrs, fix build (#548247)

This commit is contained in:
kirillrdy
2026-08-02 09:20:40 +00:00
committed by GitHub

View File

@@ -29,8 +29,12 @@ let
pyo3-bindings = python3Packages.buildPythonPackage (finalAttrs: {
pname = "exo-pyo3-bindings";
inherit version src;
# Check version in
# https://github.com/exo-explore/exo/blob/v<EXO_VERSION>/rust/exo_pyo3_bindings/pyproject.toml
version = "0.2.1";
inherit src;
pyproject = true;
__structuredAttrs = true;
buildAndTestSubdir = "rust/exo_pyo3_bindings";
@@ -54,6 +58,7 @@ let
dashboard = buildNpmPackage (finalAttrs: {
pname = "exo-dashboard";
inherit src version;
__structuredAttrs = true;
sourceRoot = "${finalAttrs.src.name}/dashboard";
npmDepsFetcherVersion = 3;
@@ -73,6 +78,7 @@ in
python3Packages.buildPythonApplication (finalAttrs: {
pname = "exo";
pyproject = true;
__structuredAttrs = true;
inherit version src;