From 0a4e633db2d8d3a7aec19145d037d421ac64d132 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 23 Mar 2025 22:20:19 +0900 Subject: nix: filter test from source Signed-off-by: Ophestra --- package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.nix') 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; -- cgit v1.3.1