aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-23 22:20:19 +0900
committerOphestra <cat@gensokyo.uk>2025-03-23 22:20:19 +0900
commit0a4e633db2d8d3a7aec19145d037d421ac64d132 (patch)
treeb922d6d811719f3b902e71fc8541d0587661fd21 /package.nix
parente8809125d40b5086dc8adc1b9d75d99a9755278d (diff)
nix: filter test from source
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 5169beaf..f82bc8fc 100644
--- a/package.nix
+++ b/package.nix
@@ -34,7 +34,7 @@ buildGoModule rec {
src = builtins.path {
name = "${pname}-src";
path = lib.cleanSource ./.;
- filter = path: type: !(type == "regular" && (lib.hasSuffix ".nix" path || lib.hasSuffix ".py" path)) && !(type == "directory" && lib.hasSuffix "/cmd/fsu" path);
+ filter = path: type: !(type == "regular" && (lib.hasSuffix ".nix" path || lib.hasSuffix ".py" path)) && !(type == "directory" && lib.hasSuffix "/test" path) && !(type == "directory" && lib.hasSuffix "/cmd/fsu" path);
};
vendorHash = null;