From 751aa350ee606bbed5405ba5a1d8f27f5b07cf1e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 24 Feb 2025 17:41:56 +0900 Subject: [PATCH] nix: exclude files ending in ".py" This reduces rebuilds when debugging nixos tests. Signed-off-by: Ophestra --- package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.nix b/package.nix index d88118c..c081663 100644 --- a/package.nix +++ b/package.nix @@ -27,7 +27,7 @@ buildGoModule rec { path = lib.cleanSource ./.; filter = path: type: - !(type == "regular" && lib.hasSuffix ".nix" path) + !(type == "regular" && (lib.hasSuffix ".nix" path || lib.hasSuffix ".py" path)) && !(type == "directory" && lib.hasSuffix "/cmd/fsu" path); }; vendorHash = null;