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:
Graham McIntire 2026-02-07 12:48:31 -06:00
parent 399a9571fd
commit da288e955d
No known key found for this signature in database

View file

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