Skip to content

Commit

Permalink
python3Packages.boxx: fix build (NixOS#382056)
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak authored Feb 14, 2025
2 parents 8ad4ab2 + 9d6fdd0 commit e325ea9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/boxx/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
python,
Expand All @@ -10,7 +11,6 @@
pandas,
imageio,
snakeviz,
fn,
pyopengl,
seaborn,
torch,
Expand All @@ -37,7 +37,6 @@ buildPythonPackage rec {
pandas
imageio
snakeviz
fn
pyopengl
seaborn
];
Expand All @@ -50,6 +49,8 @@ buildPythonPackage rec {

pythonImportsCheck = [ "boxx" ];

doCheck = stdenv.hostPlatform.isLinux;

checkPhase = ''
xvfb-run ${python.interpreter} -m unittest
'';
Expand Down

0 comments on commit e325ea9

Please sign in to comment.