fix: 从 nixpkgs 增加 numpy 依赖,以避免出现 libc++.so 找不到的问题

This commit is contained in:
Rikki
2025-03-11 22:59:56 +08:00
parent 26782c9181
commit e54038f3d0

View File

@@ -21,13 +21,14 @@
buildInputs = [
pythonPackages.python
pythonPackages.venvShellHook
pythonPackages.numpy
];
postVenvCreation = ''
unset SOURCE_DATE_EPOCH
pip install -r requirements.txt
'';
postShellHook = ''
# allow pip to install wheels
unset SOURCE_DATE_EPOCH