mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
Mercurial upgrade
svn path=/nixpkgs/branches/stdenv-updates/; revision=9729
This commit is contained in:
parent
6b01b5176a
commit
36e8d12df4
|
@ -1,10 +1,10 @@
|
|||
{stdenv, fetchurl, python, makeWrapper}:
|
||||
args: with args;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mercurial-0.9.4";
|
||||
name = "mercurial-0.9.5";
|
||||
src = fetchurl {
|
||||
url = http://www.selenic.com/mercurial/release/mercurial-0.9.4.tar.gz;
|
||||
sha256 = "26996df67d508e129d2f0a264e25072764e5c2d21606e1658d77c8984e6ed64a";
|
||||
url = http://www.selenic.com/mercurial/release/mercurial-0.9.5.tar.gz;
|
||||
sha256 = "1n34yl4z7nc3vmsgpkmqc94hsmy846ny86xgpgv3m371ljm2pq6g";
|
||||
};
|
||||
|
||||
inherit makeWrapper;
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
|||
"for i in $(cd $out/bin && ls); do"
|
||||
" mv $out/bin/$i $out/bin/.orig-$i;"
|
||||
" makeWrapper $out/bin/.orig-$i $out/bin/$i"
|
||||
" --set PYTHONPATH \"$(toPythonPath $out):$PYTHONPATH\";"
|
||||
" --set PYTHONPATH \"$(toPythonPath $out):$PYTHONPATH:\$PYTHONPATH\";"
|
||||
"done"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue