packet-cli: alias packet-cli as packet

This commit is contained in:
Cole Mickens 2020-08-06 22:39:43 -07:00
parent e4f471da97
commit dc5428e70b
No known key found for this signature in database
GPG key ID: B475C2955744A019

View file

@ -13,6 +13,10 @@ buildGoModule rec {
vendorSha256 = "1h9p3hrr61hwkhkh4qbw0ld3hd5xi75qm8rwfrpz5z06jba1ll25";
postInstall = ''
ln -s $out/bin/packet-cli $out/bin/packet
'';
meta = with stdenv.lib; {
description = "Official Packet CLI";
homepage = "https://github.com/packethost/packet-cli";