mirror of https://github.com/Mai-with-u/MaiBot.git
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.pull/666/head
parent
d108a9ab2a
commit
9d74e28e1b
|
|
@ -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 = ''
|
||||
|
|
|
|||
Loading…
Reference in New Issue