mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
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…
Reference in a new issue