But that isn't a real version number. Substitute a version number containing the 7-character SHA of a commit in the scala/scala repository for which a nightly build was published. You can look up the most recent published version by looking here: 2.12 or 2.11).

Third, tell sbt that the nightly is binary compatible with normal releases: