go365: fix for darwin
This commit is contained in:
parent
78b047c640
commit
4eae92eea2
|
@ -1,4 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
|
@ -16,7 +17,7 @@ buildGoModule rec {
|
||||||
|
|
||||||
vendorSha256 = "0fx2966xfzmi8yszw1cq6ind3i2dvacdwfs029v3bq0n8bvbm3r2";
|
vendorSha256 = "0fx2966xfzmi8yszw1cq6ind3i2dvacdwfs029v3bq0n8bvbm3r2";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = lib.optionalString (!stdenv.isDarwin) ''
|
||||||
mv $out/bin/Go365 $out/bin/$pname
|
mv $out/bin/Go365 $out/bin/$pname
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue