3
0
Fork 0
forked from mirrors/nixpkgs

Mercurial upgrade

svn path=/nixpkgs/branches/stdenv-updates/; revision=9729
This commit is contained in:
Yury G. Kudryashov 2007-11-17 14:04:54 +00:00
parent 6b01b5176a
commit 36e8d12df4

View file

@ -1,10 +1,10 @@
{stdenv, fetchurl, python, makeWrapper}: args: with args;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "mercurial-0.9.4"; name = "mercurial-0.9.5";
src = fetchurl { src = fetchurl {
url = http://www.selenic.com/mercurial/release/mercurial-0.9.4.tar.gz; url = http://www.selenic.com/mercurial/release/mercurial-0.9.5.tar.gz;
sha256 = "26996df67d508e129d2f0a264e25072764e5c2d21606e1658d77c8984e6ed64a"; sha256 = "1n34yl4z7nc3vmsgpkmqc94hsmy846ny86xgpgv3m371ljm2pq6g";
}; };
inherit makeWrapper; inherit makeWrapper;
@ -16,7 +16,7 @@ stdenv.mkDerivation {
"for i in $(cd $out/bin && ls); do" "for i in $(cd $out/bin && ls); do"
" mv $out/bin/$i $out/bin/.orig-$i;" " mv $out/bin/$i $out/bin/.orig-$i;"
" makeWrapper $out/bin/.orig-$i $out/bin/$i" " makeWrapper $out/bin/.orig-$i $out/bin/$i"
" --set PYTHONPATH \"$(toPythonPath $out):$PYTHONPATH\";" " --set PYTHONPATH \"$(toPythonPath $out):$PYTHONPATH:\$PYTHONPATH\";"
"done" "done"
]; ];