* substitute: support patterns starting with a dash.

* Updated the kernel headers.
* ghc: setup hooks are now generated using substituteAll.

svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10838
This commit is contained in:
Eelco Dolstra
2008-02-22 18:19:04 +00:00
parent 359e488921
commit 2e92cabb37
7 changed files with 16 additions and 26 deletions
+4 -2
View File
@@ -1,6 +1,6 @@
{stdenv, fetchurl}:
stdenv.mkDerivation ({
stdenv.mkDerivation {
name = "replace-2.24";
src = fetchurl {
@@ -12,8 +12,10 @@ stdenv.mkDerivation ({
postInstall = "mv \$out/bin/replace \$out/bin/replace-literal";
patches = [./malloc.patch];
meta = {
homepage = http://replace.richardlloyd.org.uk/;
description = "A tool to replace verbatim strings";
};
} // (if stdenv.system == "i686-darwin" then {patches = [./malloc.patch];} else {}))
}