Limit package source using sourceFilesBySuffices
This commit is contained in:
parent
4bc78716ee
commit
99e0887505
@ -32,7 +32,12 @@
|
||||
{
|
||||
packages = {
|
||||
nixprstatus = mkPoetryApplication {
|
||||
projectDir = ./.;
|
||||
projectDir = pkgs.lib.sourceFilesBySuffices ./. [
|
||||
"pyproject.toml"
|
||||
"poetry.lock"
|
||||
"README.md"
|
||||
".py"
|
||||
];
|
||||
python = pkgs.python312;
|
||||
nativeBuildInputs = [ pkgs.installShellFiles ];
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user