diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-23 22:20:19 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-23 22:20:19 +0900 |
| commit | 0a4e633db2d8d3a7aec19145d037d421ac64d132 (patch) | |
| tree | b922d6d811719f3b902e71fc8541d0587661fd21 /package.nix | |
| parent | e8809125d40b5086dc8adc1b9d75d99a9755278d (diff) | |
nix: filter test from source
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 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; |
