flake: add scipy to dependencies

scipy relies on libstdc++.so and cannot be used directly with venv in nix environment. adding it to buildInputs solves this issue.
This commit is contained in:
undefined
2025-04-04 16:41:36 +01:00
committed by GitHub
parent d108a9ab2a
commit 9d74e28e1b

View File

@@ -18,10 +18,11 @@
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
name = "python-venv"; name = "python-venv";
venvDir = "./.venv"; venvDir = "./.venv";
buildInputs = [ buildInputs = with pythonPackages; [
pythonPackages.python python
pythonPackages.venvShellHook venvShellHook
pythonPackages.numpy scipy
numpy
]; ];
postVenvCreation = '' postVenvCreation = ''
@@ -35,4 +36,4 @@
''; '';
}; };
}); });
} }