I'm trying to use dvc in mach-nix based development environment with no success.
The issue seems to be that dvc uses its own python env and not the mach-nix's which causes scripts ran with it to fail because of the imports but I have no idea how to fix it. I'd be really grateful even for a hacky workaround patching the dvc's package somehow.
I'm trying to use dvc in mach-nix based development environment with no success. The issue seems to be that dvc uses its own python env and not the mach-nix's which causes scripts ran with it to fail because of the imports but I have no idea how to fix it. I'd be really grateful even for a hacky workaround patching the dvc's package somehow.
reproduction
shell.nix
python -c 'import numpy'
worksdvc run -n "test" -f 'python -c "import numpy"'
doesn't workwhich python
in shell and with dvc run returns different python envs