Open hall opened 11 months ago
Well . . . here's an easier workaround: just manually run poetry lock
then vendor it alongside the derivation:
poetrylock = ./poetry.lock;
That's much simpler and doesn't require disabling the sandbox; though I'd still like to know whether you're opposed to adding it directly in this repo.
When trying to package the CLI with poetry2nix,
it fails as there is no lock file:
The only workaround I've been able to come up with is manually creating the lock file
which requires disabling the sandbox (e.g.,
nix build --no-sandbox
) sincepoetry
resolves dependencies over the network.Would you accept a PR to add the lock file?