git-lfs: Build subcommands

The current version of `git-lfs` doesn't work very well due to a missing
code-generation step in its build process. This commit fixes its
derivation so that this step is run.
This commit is contained in:
Will Jones 2022-01-14 13:50:31 +00:00 committed by Will Jones
parent e00e384be4
commit 7ec65f3354

View File

@ -19,6 +19,12 @@ buildGoPackage rec {
subPackages = [ "." ];
preBuild = ''
pushd go/src/github.com/git-lfs/git-lfs
go generate ./commands
popd
'';
postBuild = ''
make -C go/src/${goPackagePath} man
'';