Skip to content

Commit

Permalink
Use Nix python3.withPackages for nanobind instead of buildInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmayo committed Aug 2, 2024
1 parent 745a55d commit be2846e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
cmake
ninja
(python3.withPackages
(ps: with ps; [ trimesh pytest ]))
(ps: with ps; [ nanobind trimesh pytest ]))
gtest
pkg-config
]) ++ build-tools;
Expand Down Expand Up @@ -123,7 +123,6 @@
tbb
glm
clipper2
nanobind
];
nativeBuildInputs = with pkgs; [
cmake
Expand All @@ -135,6 +134,7 @@
pkg-config
];
checkInputs = [
nanobind
trimesh
pytest
];
Expand Down

0 comments on commit be2846e

Please sign in to comment.