* 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
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user