summary refs log tree commit diff
path: root/pkgs/build-support/fetchdarcs/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/fetchdarcs/builder.sh')
-rw-r--r--pkgs/build-support/fetchdarcs/builder.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/build-support/fetchdarcs/builder.sh b/pkgs/build-support/fetchdarcs/builder.sh
index efff5ff5ebf..301deb98307 100644
--- a/pkgs/build-support/fetchdarcs/builder.sh
+++ b/pkgs/build-support/fetchdarcs/builder.sh
@@ -2,9 +2,9 @@ source $stdenv/setup
 
 tagtext=""
 tagflags=""
-if test -n "$tag"; then
-    tagtext="(tag $tag) "
-    tagflags="--tag=$tag"
+if test -n "$rev"; then
+    tagtext="(tag $rev) "
+    tagflags="--tag=$rev"
 elif test -n "$context"; then
     tagtext="(context) "
     tagflags="--context=$context"