mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
exo: enable __structuredAttrs, fix build (#548247)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user