1 runCommand: subversion: repository:
2 import (runCommand "head-revision"
3 { buildInputs = [ subversion ];
4 dummy = builtins.currentTime;
7 rev=$(echo p | svn ls -v --depth empty ${repository} |awk '{ print $1 }')
8 echo "[ \"$rev\" ]" > $out
9 echo Latest revision is $rev