forked from mirrors/gomod2nix
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 {
|
buildGoApplication {
|
||||||
pname = "gomod2nix";
|
pname = "gomod2nix";
|
||||||
version = "0.1";
|
version = "0.1";
|
||||||
src = lib.cleanSource ./.;
|
src = lib.cleanSourceWith {
|
||||||
|
filter = name: type: ! lib.hasSuffix "tests" name;
|
||||||
|
src = lib.cleanSource ./.;
|
||||||
|
};
|
||||||
modules = ./gomod2nix.toml;
|
modules = ./gomod2nix.toml;
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
Loading…
Reference in a new issue