default.nix: Filter tests
This commit is contained in:
parent
addf1164e9
commit
06cfdc3c54
1 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,10 @@
|
|||
buildGoApplication {
|
||||
pname = "gomod2nix";
|
||||
version = "0.1";
|
||||
src = lib.cleanSourceWith {
|
||||
filter = name: type: ! lib.hasSuffix "tests" name;
|
||||
src = lib.cleanSource ./.;
|
||||
};
|
||||
modules = ./gomod2nix.toml;
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
|
Loading…
Reference in a new issue