diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2024-01-25 00:02:19 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2024-01-25 00:02:19 +0100 |
| commit | d02e9c406bff66f20b3a4a2df042913730917c25 (patch) | |
| tree | f08d6e26f4fc959ec7a5608ddc2198bca53d849e | |
| parent | 540771373fc9db8ba7b10c9c1e36e26e6b30e87f (diff) | |
machine-learning: python-tensorstore: Fix version.
* guix-science/packages/machine-learning.scm
(python-tensorstore)[arguments]: Patch fallback version string.
| -rw-r--r-- | guix-science/packages/machine-learning.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix-science/packages/machine-learning.scm b/guix-science/packages/machine-learning.scm index 9be9d72..c63e3d6 100644 --- a/guix-science/packages/machine-learning.scm +++ b/guix-science/packages/machine-learning.scm | |||
| @@ -374,7 +374,9 @@ SavedModel format.") | |||
| 374 | ;; but we've only built _tensorstore.so. | 374 | ;; but we've only built _tensorstore.so. |
| 375 | (substitute* "setup.py" | 375 | (substitute* "setup.py" |
| 376 | (("os.path.basename\\(ext_full_path\\)") | 376 | (("os.path.basename\\(ext_full_path\\)") |
| 377 | "'_tensorstore.so'")))) | 377 | "'_tensorstore.so'") |
| 378 | (("'fallback_version': '0.0.0'") | ||
| 379 | (string-append "'fallback_version': '" #$version "'"))))) | ||
| 378 | (add-after 'build 'prepare-python | 380 | (add-after 'build 'prepare-python |
| 379 | (lambda _ | 381 | (lambda _ |
| 380 | (setenv "TENSORSTORE_PREBUILT_DIR" | 382 | (setenv "TENSORSTORE_PREBUILT_DIR" |
