go1.12: remove dsymutil patch

stdenv provides dsymutil for us. Already done for other compilers but
not this one.
This commit is contained in:
Matthew Bauer 2019-03-19 00:37:45 -04:00
parent 32acda1b4d
commit 1b5021771b

View File

@ -141,9 +141,6 @@ stdenv.mkDerivation rec {
postPatch = ''
find . -name '*.orig' -exec rm {} ';'
'' + optionalString stdenv.isDarwin ''
echo "substitute hardcoded dsymutil with ${llvm}/bin/llvm-dsymutil"
substituteInPlace "src/cmd/link/internal/ld/lib.go" --replace dsymutil ${llvm}/bin/llvm-dsymutil
'';
GOOS = stdenv.targetPlatform.parsed.kernel.name;