Merge pull request #154987 from veprbl/pr/go365_darwin_fix

go365: fix for darwin
This commit is contained in:
Fabian Affolter 2022-01-14 11:15:29 +01:00 committed by GitHub
commit 665a4df77b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
'';