docopts: build only necessary binaries
This commit is contained in:
@@ -15,9 +15,10 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
subPackages = [ "./" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -D -m 755 ./go/src/$goPackagePath/docopts.sh $out/bin/docopts.sh
|
install -D -m 755 ./go/src/$goPackagePath/docopts.sh $out/bin/docopts.sh
|
||||||
rm $out/bin/json_t
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|||||||
Reference in New Issue
Block a user