From da288e955defa6d86dca0aef266d7a9d059e49b3 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 7 Feb 2026 12:48:31 -0600 Subject: [PATCH] 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. --- nix/build.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nix/build.nix b/nix/build.nix index 72212579..32178a23 100644 --- a/nix/build.nix +++ b/nix/build.nix @@ -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