Skip to content

Commit

Permalink
build: filter src better
Browse files Browse the repository at this point in the history
  • Loading branch information
jashandeep-sohi committed Aug 7, 2024
1 parent 0ac6260 commit e0001e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
homepage = versionFile.url or "https://github.com/jashandeep-sohi/krm-fn-sealedsecrets";
buildGoCmd = { pname, cmd }: inputs'.gomod2nix.legacyPackages.buildGoApplication {
inherit pname version;
src = pkgs.lib.cleanSource ./.;
src = with pkgs.lib; sourceFilesBySuffices (cleanSource ./.) [ ".go" "go.mod" "go.sum" "gomod2nix.toml" ];
modules = ./gomod2nix.toml;
subPackages = [ "cmd/${cmd}" ];
postInstall = ''
Expand Down

0 comments on commit e0001e7

Please sign in to comment.