Skip to content

Commit ed16953

Browse files
jonringerjb-lunatech
authored andcommitted
Update nix patch
1 parent 6bb46ea commit ed16953

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

nix/protoc.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
diff --git a/build.sbt b/build.sbt
2-
index 6bf2b25cb..155de447d 100644
2+
index 4ac21ff40..ccd34412e 100644
33
--- a/build.sbt
44
+++ b/build.sbt
5-
@@ -25,6 +25,7 @@ def commonSettings(projectName: String) = Seq(
6-
"-encoding",
7-
"UTF-8"
8-
),
5+
@@ -43,6 +43,7 @@ def commonSettings(projectName: String): Seq[sbt.Def.Setting[_]] = Seq(
6+
scalaVersion := `scala-2.13`,
7+
// Scalanet snapshots are published to Sonatype after each build.
8+
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
99
+ PB.runProtoc in Compile := (args => Process("@protobuf@/bin/protoc", args)!),
10-
scalacOptions in (Compile, console) ~= (_.filterNot(
11-
Set(
12-
"-Ywarn-unused-import",
10+
testOptions in Test += Tests
11+
.Argument(TestFrameworks.ScalaTest, "-l", "EthashMinerSpec"), // miner tests disabled by default,
12+
scalacOptions := Seq(

0 commit comments

Comments
 (0)