fix: 从 nixpkgs 增加 numpy 依赖,以避免出现 libc++.so 找不到的问题
This commit is contained in:
@@ -21,13 +21,14 @@
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
pythonPackages.python
|
pythonPackages.python
|
||||||
pythonPackages.venvShellHook
|
pythonPackages.venvShellHook
|
||||||
|
pythonPackages.numpy
|
||||||
];
|
];
|
||||||
|
|
||||||
postVenvCreation = ''
|
postVenvCreation = ''
|
||||||
unset SOURCE_DATE_EPOCH
|
unset SOURCE_DATE_EPOCH
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postShellHook = ''
|
postShellHook = ''
|
||||||
# allow pip to install wheels
|
# allow pip to install wheels
|
||||||
unset SOURCE_DATE_EPOCH
|
unset SOURCE_DATE_EPOCH
|
||||||
|
|||||||
Reference in New Issue
Block a user