diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-02-22 18:19:04 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-02-22 18:19:04 +0000 |
commit | 2e92cabb37d8ba81eeebcf9522510e2a4f8aafae (patch) | |
tree | 0e1df3140b116760c2ab39d6cff739f97b412fe2 /pkgs/tools/text/replace | |
parent | 359e488921067139c83b14b11ec31ec01e9454ef (diff) |
* 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
Diffstat (limited to 'pkgs/tools/text/replace')
-rw-r--r-- | pkgs/tools/text/replace/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/text/replace/default.nix b/pkgs/tools/text/replace/default.nix index 85e2fe2caca38..7ac41bbe8bf2d 100644 --- a/pkgs/tools/text/replace/default.nix +++ b/pkgs/tools/text/replace/default.nix @@ -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 {})) +} |