snowcrash: remove unnecessary runVend
also disable `postFixup` for darwin which is case insensitive
This commit is contained in:
parent
36b5fc4b36
commit
6f05cfdb1e
|
@ -1,4 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
|
@ -14,13 +15,11 @@ buildGoModule rec {
|
||||||
sha256 = "16p1nfi9zdlcffjyrk1phrippjqrdzf3cpc51dgdy3bfr7pds2ld";
|
sha256 = "16p1nfi9zdlcffjyrk1phrippjqrdzf3cpc51dgdy3bfr7pds2ld";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "1xm2yjr4mqkara3yib6vgfj14ldh7r0v1vr2i0ks13l1rm54x840";
|
vendorSha256 = "sha256-YryQKLHwUDhR/Z7eWfCdL86Z83GrqBTvdGGj+dGKvjI";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
runVend = true;
|
postFixup = lib.optionals (!stdenv.isDarwin) ''
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
mv $out/bin/SNOWCRASH $out/bin/${pname}
|
mv $out/bin/SNOWCRASH $out/bin/${pname}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue