diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-02-13 14:23:09 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-02-13 14:23:09 +0000 |
commit | 5f45fb3ae986119b4360613901a1c033a2ee327e (patch) | |
tree | 08448fced019fe7676f255cd13c2ea228425876d /pkgs/tools/text/replace | |
parent | 3db3e079afaaae281124ee9ff1b34df3fa197824 (diff) |
* substitute() in stdenv: use the replace program instead of awful
sed hackery. * Some indentation fixes in setup.sh. svn path=/nixpkgs/branches/stdenv-updates/; revision=10658
Diffstat (limited to 'pkgs/tools/text/replace')
-rw-r--r-- | pkgs/tools/text/replace/default.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/tools/text/replace/default.nix b/pkgs/tools/text/replace/default.nix index 3135204ef032e..b9613ef207723 100644 --- a/pkgs/tools/text/replace/default.nix +++ b/pkgs/tools/text/replace/default.nix @@ -1,4 +1,5 @@ {stdenv, fetchurl}: + stdenv.mkDerivation { name = "replace-2.24"; @@ -7,14 +8,10 @@ stdenv.mkDerivation { sha256 = "1c2nkxx83vmlh1v3ib6r2xqh121gdb1rharwsimcb2h0xwc558dm"; }; - buildInputs = []; - makeFlags = " TREE=\$(out) "; - - postInstall = "mv \$out/bin/replace \$out/bin/replace-literal"; + makeFlags = "TREE=\$(out)"; meta = { - description = " - Replace verbatim strings. Sed is not fit to do it. Replace is. -"; + homepage = http://replace.richardlloyd.org.uk/; + description = "A tool to replace verbatim strings"; }; } |