fetchbzr, fetchdarcs, fetchhg: use rev attr

This makes it match the behaviour of fetchgit and fetchsvn, so it's
easier to write scripts that support all of them.
This commit is contained in:
Benno Fünfstück
2014-06-28 21:06:10 +02:00
parent 9b7dbcc83e
commit e10001042d
23 changed files with 43 additions and 43 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
{ stdenv, bazaar }:
{ url, revision, sha256 }:
{ url, rev, sha256 }:
stdenv.mkDerivation {
name = "bzr-export";
@@ -11,5 +11,5 @@ stdenv.mkDerivation {
outputHashMode = "recursive";
outputHash = sha256;
inherit url revision;
inherit url rev;
}