From 3cf71dcfd11bf01c29953631851c81287676f80b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 23 Jan 2012 13:06:01 +0000 Subject: [PATCH] * Curl is used during the bootstrap, so don't rely on pattern substitution being efficient. svn path=/nixpkgs/branches/stdenv-updates/; revision=31792 --- pkgs/tools/networking/curl/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index 7aee342f4a3..cd83ede9df4 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -56,7 +56,7 @@ stdenv.mkDerivation rec { }; preConfigure = '' - substituteInPlace configure --replace /usr/bin /no-such-path + sed -e 's|/usr/bin|/no-such-path|g' -i.bak configure ''; meta = {