From 1b5021771b5d0e7ca675f96fda2d3e5775c14230 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Tue, 19 Mar 2019 00:37:45 -0400 Subject: [PATCH] go1.12: remove dsymutil patch stdenv provides dsymutil for us. Already done for other compilers but not this one. --- pkgs/development/compilers/go/1.12.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/development/compilers/go/1.12.nix b/pkgs/development/compilers/go/1.12.nix index 44304006f6b4..496206b0f15b 100644 --- a/pkgs/development/compilers/go/1.12.nix +++ b/pkgs/development/compilers/go/1.12.nix @@ -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;