go: do not strip bootstrap on darwin
This commit is contained in:
parent
f4e108408f
commit
6fff56280f
@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = hashes.${platform} or (throw "Missing Go bootstrap hash for platform ${platform}");
|
sha256 = hashes.${platform} or (throw "Missing Go bootstrap hash for platform ${platform}");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# We must preserve the signature on Darwin
|
||||||
|
dontStrip = stdenv.hostPlatform.isDarwin;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/go $out/bin
|
mkdir -p $out/share/go $out/bin
|
||||||
mv bin/* $out/bin
|
mv bin/* $out/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user