go: do not strip bootstrap on darwin

This commit is contained in:
Ivan Babrou
2021-02-20 08:09:42 +10:00
committed by zowoq
parent f4e108408f
commit 6fff56280f
+3
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