docopts: build only necessary binaries

This commit is contained in:
con-f-use 2020-12-20 15:50:58 +01:00
parent 38349e453e
commit b5d9be6aa2

@ -15,9 +15,10 @@ buildGoPackage rec {
goDeps = ./deps.nix;
subPackages = [ "./" ];
postInstall = ''
install -D -m 755 ./go/src/$goPackagePath/docopts.sh $out/bin/docopts.sh
rm $out/bin/json_t
'';
meta = with stdenv.lib; {