mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 12:09:08 +00:00
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.cleanSource ./.;
|
||||
src = lib.cleanSourceWith {
|
||||
filter = name: type: ! lib.hasSuffix "tests" name;
|
||||
src = lib.cleanSource ./.;
|
||||
};
|
||||
modules = ./gomod2nix.toml;
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
|
Loading…
Reference in a new issue