2024-03-17 16:05:06 -07:00
|
|
|
# Reproducible
|
|
|
|
|
|
|
|
This is an example of using Poetry and Nix to create a reproducible Python
|
|
|
|
environment and image for machine learning.
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
|
|
|
Execute
|
|
|
|
``` sh
|
|
|
|
$ nix build
|
|
|
|
$ result/bin/reproducible
|
|
|
|
```
|
2024-08-27 22:31:47 -07:00
|
|
|
|
|
|
|
## Troubleshooting
|
|
|
|
|
|
|
|
Resolve collision:
|
|
|
|
``` sh
|
|
|
|
sudo nix-store --verify --check-contents --repair
|
|
|
|
```
|