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:
@@ -18,10 +18,11 @@
|
||||
devShells.default = pkgs.mkShell {
|
||||
name = "python-venv";
|
||||
venvDir = "./.venv";
|
||||
buildInputs = [
|
||||
pythonPackages.python
|
||||
pythonPackages.venvShellHook
|
||||
pythonPackages.numpy
|
||||
buildInputs = with pythonPackages; [
|
||||
python
|
||||
venvShellHook
|
||||
scipy
|
||||
numpy
|
||||
];
|
||||
|
||||
postVenvCreation = ''
|
||||
|
||||
Reference in New Issue
Block a user