diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-24 17:41:56 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-24 17:41:56 +0900 |
| commit | 751aa350ee606bbed5405ba5a1d8f27f5b07cf1e (patch) | |
| tree | 8959ee59d062d88c3953d4a92386557d996781df /package.nix | |
| parent | e6cd2bb2a8098d555f11034fa912158c469e6138 (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.nix | 2 |
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; |
