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