diff --git a/default.nix b/default.nix index 27d6f9d..8ed038e 100644 --- a/default.nix +++ b/default.nix @@ -3,7 +3,10 @@ buildGoApplication { pname = "gomod2nix"; version = "0.1"; - src = lib.cleanSource ./.; + src = lib.cleanSourceWith { + filter = name: type: ! lib.hasSuffix "tests" name; + src = lib.cleanSource ./.; + }; modules = ./gomod2nix.toml; subPackages = [ "." ];