aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-24 17:41:56 +0900
committerOphestra <cat@gensokyo.uk>2025-02-24 17:41:56 +0900
commit751aa350ee606bbed5405ba5a1d8f27f5b07cf1e (patch)
tree8959ee59d062d88c3953d4a92386557d996781df /package.nix
parente6cd2bb2a8098d555f11034fa912158c469e6138 (diff)
nix: exclude files ending in ".py"
This reduces rebuilds when debugging nixos tests. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.nix b/package.nix
index d88118c0..c081663b 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;