fix: Simplify source filter to include vendor properly
Remove buggy conditional that was always true. Now the filter correctly excludes only build artifacts while including all source files including vendor directory.
This commit is contained in:
parent
399a9571fd
commit
da288e955d
1 changed files with 1 additions and 3 deletions
|
|
@ -17,7 +17,6 @@ beamPackages.mixRelease {
|
|||
path: type:
|
||||
let
|
||||
baseName = baseNameOf path;
|
||||
parentDir = baseNameOf (dirOf path);
|
||||
in
|
||||
# Exclude build artifacts and temp directories
|
||||
baseName != "_build"
|
||||
|
|
@ -32,8 +31,7 @@ beamPackages.mixRelease {
|
|||
&& baseName != ".nix-mix"
|
||||
&& baseName != ".nix-hex"
|
||||
&& baseName != ".worktrees"
|
||||
# Include vendor directory and all its contents
|
||||
&& (parentDir == "vendor" || baseName == "vendor" || true);
|
||||
&& baseName != ".nix-services-started";
|
||||
};
|
||||
|
||||
# Filter function to include necessary files and directories
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue