diff --git a/package.nix b/package.nix index 79d13bf..39ed723 100644 --- a/package.nix +++ b/package.nix @@ -16,7 +16,11 @@ buildGoModule rec { pname = "fortify"; version = "0.2.5"; - src = ./.; + src = builtins.path { + name = "fortify-src"; + path = lib.cleanSource ./.; + filter = path: type: !(type != "directory" && lib.hasSuffix ".nix" path); + }; vendorHash = null; ldflags =