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

Can fail with the following: output '/nix/store/dxxkcgkl4qfypf97jcw96lgba671hqmb-closure-size-1.0.0' is not allowed to refer to the following paths: /nix/store/9bi4j2k7bnqprn6h2ijn63xgskdgacxk-poetry-1.0.2 /nix/store/bqr68255raz3icc73nq6788105v0r748-postgresql-11.6 /nix/store/qksib0d7ygx1mmqk7172yjz02ya13lsh-gcc-9.2.0
16 lines
352 B
Nix
16 lines
352 B
Nix
{ lib, poetry2nix, poetry, postgresql }:
|
|
poetry2nix.mkPoetryApplication {
|
|
pyproject = ./pyproject.toml;
|
|
poetrylock = ./poetry.lock;
|
|
src = lib.cleanSource ./.;
|
|
pwd = ./.;
|
|
|
|
inherit poetry;
|
|
|
|
# Make sure these packages are missing from runtime closure
|
|
disallowedRequisites = [
|
|
poetry
|
|
postgresql.stdenv.cc.cc
|
|
postgresql.out
|
|
];
|
|
}
|