Limit package source using sourceFilesBySuffices
All checks were successful
test / test (push) Successful in 35s
build / build (push) Successful in 2m0s

This commit is contained in:
Torjus Håkestad 2024-10-09 21:14:32 +02:00
parent 4bc78716ee
commit 99e0887505
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -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 = ''