go365: fix for darwin

This commit is contained in:
Dmitry Kalinkin 2022-01-14 03:25:16 -05:00
parent 78b047c640
commit 4eae92eea2
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
}:
@ -16,7 +17,7 @@ buildGoModule rec {
vendorSha256 = "0fx2966xfzmi8yszw1cq6ind3i2dvacdwfs029v3bq0n8bvbm3r2";
postInstall = ''
postInstall = lib.optionalString (!stdenv.isDarwin) ''
mv $out/bin/Go365 $out/bin/$pname
'';