From 0e353fdd5aeb71728c71569ea57c62f02ac2407e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 19 Jan 2012 14:55:12 +0000 Subject: [PATCH] * Don't use substite() here, because the bash binary in the bootstrap tools (4.1.2) seems to have performance problems doing pattern substitutions on large strings (it takes several minutes on binutils' Makefile.in). Bash 4.2 seems to be fine. svn path=/nixpkgs/branches/stdenv-updates/; revision=31698 --- pkgs/development/tools/misc/binutils/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/binutils/default.nix b/pkgs/development/tools/misc/binutils/default.nix index 526bc45f8bc..4b24c25230a 100644 --- a/pkgs/development/tools/misc/binutils/default.nix +++ b/pkgs/development/tools/misc/binutils/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { # Use symlinks instead of hard links to save space ("strip" in the # fixup phase strips each hard link separately). for i in binutils/Makefile.in gas/Makefile.in ld/Makefile.in; do - substituteInPlace $i --replace 'ln ' 'ln -s ' + set -i "$i" 's|ln |ln -s |' done '';