mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
17 lines
352 B
Nix
17 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
|
||
|
];
|
||
|
}
|