filter sources to avoid rebuild on each test
Some checks reported errors
Albatros default

This commit is contained in:
Quentin 2023-05-04 16:05:11 +02:00
parent b16e51219a
commit 6691d52fac
Signed by: quentin
GPG key ID: E9602264D639FF68

View file

@ -53,7 +53,11 @@
albatrosProject = (pkgs.buildGoModule rec { albatrosProject = (pkgs.buildGoModule rec {
pname = "albatros-go-module"; pname = "albatros-go-module";
version = albaVersion; version = albaVersion;
src = ./.; src = builtins.path {
path = ./.;
name = "albatros-source";
filter = (path: type: type == "directory" || (builtins.match ".*\\.(go|sum|mod)" path) != null);
};
CGO_ENABLED = 0; CGO_ENABLED = 0;
vendorSha256 = "sha256-KYjXb882jWLFO6zilQXlrZorL9tw/+6njQNkB6E9Er4="; vendorSha256 = "sha256-KYjXb882jWLFO6zilQXlrZorL9tw/+6njQNkB6E9Er4=";
dontCheck=true; dontCheck=true;