diff --git a/flake.nix b/flake.nix index 90f37c0..59ec2ac 100644 --- a/flake.nix +++ b/flake.nix @@ -20,11 +20,11 @@ vendorHash = null; # For building the package, we use only the files not ignored by Git as inputs. - # Also, flake.nix and flake.lock are not included to avoid annoying rebuilds when + # Also, flake.nix, flake.lock and .gitea are not included to avoid annoying rebuilds when # working on them. src = pkgs.lib.cleanSourceWith { src = gitignore.lib.gitignoreSource ./.; - filter = path: type: builtins.baseNameOf path != "flake.nix" && builtins.baseNameOf path != "flake.lock"; + filter = path: type: builtins.baseNameOf path != "flake.nix" && builtins.baseNameOf path != "flake.lock" && !(builtins.match "^\\.gitea.*" path); }; # Avoid linking against libc