go: do not strip bootstrap on darwin

This commit is contained in:
Ivan Babrou 2021-02-16 13:39:08 -08:00 committed by zowoq
parent f4e108408f
commit 6fff56280f

View file

@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
sha256 = hashes.${platform} or (throw "Missing Go bootstrap hash for platform ${platform}");
};
# We must preserve the signature on Darwin
dontStrip = stdenv.hostPlatform.isDarwin;
installPhase = ''
mkdir -p $out/share/go $out/bin
mv bin/* $out/bin