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) | |
download | nixlib-5f45fb3ae986119b4360613901a1c033a2ee327e.tar nixlib-5f45fb3ae986119b4360613901a1c033a2ee327e.tar.gz nixlib-5f45fb3ae986119b4360613901a1c033a2ee327e.tar.bz2 nixlib-5f45fb3ae986119b4360613901a1c033a2ee327e.tar.lz nixlib-5f45fb3ae986119b4360613901a1c033a2ee327e.tar.xz nixlib-5f45fb3ae986119b4360613901a1c033a2ee327e.tar.zst nixlib-5f45fb3ae986119b4360613901a1c033a2ee327e.zip |
* 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 3135204ef032..b9613ef20772 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"; }; } |