From 46c0b74f2014b5d39c82d95d3555059284500760 Mon Sep 17 00:00:00 2001 From: chn Date: Tue, 3 Sep 2024 17:36:01 +0800 Subject: [PATCH 1/2] fix(overrides): add build system deps for nglview --- overrides/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/overrides/default.nix b/overrides/default.nix index 05641da40..33bf7a244 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -1780,6 +1780,15 @@ lib.composeManyExtensions [ } ); + nglview = prev.nglview.overridePythonAttrs ( + old: { + nativeBuildInputs = old.nativeBuildInputs or [ ] ++ (with final; [ + jupyter-packaging + versioneer + ]); + } + ); + numpy = prev.numpy.overridePythonAttrs ( old: let From adcfd3d0b21c4decc9cfc77f2f1e41d39000fdf5 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 10 Oct 2024 07:59:19 -0400 Subject: [PATCH 2/2] chore(deps): use build-systems.json for specification instead of default.nix --- overrides/build-systems.json | 4 ++++ overrides/default.nix | 9 --------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/overrides/build-systems.json b/overrides/build-systems.json index fa4089a20..920639608 100644 --- a/overrides/build-systems.json +++ b/overrides/build-systems.json @@ -13983,6 +13983,10 @@ "cython", "setuptools" ], + "nglview": [ + "jupyter-packaging", + "versioneer" + ], "niaaml": [ "poetry-core" ], diff --git a/overrides/default.nix b/overrides/default.nix index 33bf7a244..05641da40 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -1780,15 +1780,6 @@ lib.composeManyExtensions [ } ); - nglview = prev.nglview.overridePythonAttrs ( - old: { - nativeBuildInputs = old.nativeBuildInputs or [ ] ++ (with final; [ - jupyter-packaging - versioneer - ]); - } - ); - numpy = prev.numpy.overridePythonAttrs ( old: let