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