nix-community / gomod2nix

Convert applications using Go modules to Nix expressions [maintainer=@adisbladis]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question]: Is there a way to tell gomod2nix to skip a subPackage?

JonathanLorimer opened this issue · comments

I am trying to package https://github.com/cosmos/cosmos-sdk and one of the subdirectories is not a package but a module. When I try to build cosmos-sdk via buildGoApplication it fails on cosmovisor (the module in a subdirectory), is there any way I can tell buildGoApplication to skip this?

I think you can use the subPackages undocumented argument just like you'd use it in Nixpkgs.