diff --git a/flake.nix b/flake.nix index a10108f..6d49604 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,11 @@ albatrosProject = (pkgs.buildGoModule rec { pname = "albatros-go-module"; 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; vendorSha256 = "sha256-KYjXb882jWLFO6zilQXlrZorL9tw/+6njQNkB6E9Er4="; dontCheck=true;