mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 17:21:39 -05:00

We should not be setting pre/post phases as it's counter intuitive when working with overrides.
8 lines
323 B
Bash
8 lines
323 B
Bash
remove-path-dependencies-hook() {
|
|
# Tell poetry not to resolve the path dependencies. Any version is fine!
|
|
@yj@ -tj < pyproject.toml | @pythonInterpreter@ @pyprojectPatchScript@ > pyproject.json
|
|
@yj@ -jt < pyproject.json > pyproject.toml
|
|
rm pyproject.json
|
|
}
|
|
|
|
postPatchHooks+=(remove-path-dependencies-hook)
|