Conversation
5070562 to
3ef9ce2
Compare
3ef9ce2 to
d0c9796
Compare
84b22cf to
0ebe794
Compare
| @@ -0,0 +1,26 @@ | |||
| # this file must still be generated manually. | |||
There was a problem hiding this comment.
why we need both: ./manual-repo.nix, project/manual-repo.nix? also.. project/project/manual-repo.nix ???
| @@ -0,0 +1,51 @@ | |||
| # this file originates from SBTix | |||
There was a problem hiding this comment.
can we improve the comment, i mean, this file is originates from SBTix but as far as i know we also added some stuff.
| @@ -0,0 +1,1872 @@ | |||
| # This file was automatically generated by Sbtix. Do not edit manually. | |||
There was a problem hiding this comment.
if this is automatically generated, why we need to push it to the repo?
| @@ -1,5 +0,0 @@ | |||
| #!/bin/bash | |||
|
|
|||
| DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |||
There was a problem hiding this comment.
we discovered why this was causing troubles?
e1c81f2 to
8e97c4e
Compare
1b65c10 to
821e35a
Compare
308e09f to
6f353af
Compare
|
Added Hydra builds. Can we merge this already so that other PRs get hydra builds as well? |
In order to get this merge you should:
|
- Update Sbt - Update Scala - Remove sbt-verify package: In the near future will covered by nix build
6f353af to
a597ef0
Compare
| @@ -1 +1 @@ | |||
| sbt.version = 1.3.13 | |||
| sbt.version = 1.2.8 | |||
There was a problem hiding this comment.
why? i mean, it was necessary?
There was a problem hiding this comment.
Me and @sevanspowell were pulling our hair on this all night... briefly, given that:
- Sbtix doesn't work correctly with SBT 1.3 (it creates a
repo.nixthat references local path) - We don't really know how to fix Sbtix for SBT 1.3
- We don't know how to estimate how long it would take to figure it out
- We have some aggressive time constraints
- SBT 1.3 is at best a nice-to-have (this is an assumption, correct me if I'm wrong)
- Other urgent tasks are blocked by this not being merged
therefore we made an executive decision to go back to 1.2.8 which was already known to work...
There was a problem hiding this comment.
first of all thanks for the clarification and all the effort you are doing! Yeah, fully agree, it was not a requirement. We can get rid off it, given are current deadlines. (On devops-sync call we also agreed upon that)
|
This needs a dependencies regeneration again. And i can't do in it (still not working in my machine), so please someone try to. |
|
I regenerated and now it fails to build. |
| "nix-public" = ""; | ||
| }; | ||
| "artifacts" = { | ||
| "nix-local-preloaded/file:/Users/kreisys/.sbtix/preloaded/com/eed3si9n/shaded-scalajson_2.12/1.0.0-M4/shaded-scalajson_2.12-1.0.0-M4.jar" = { |
There was a problem hiding this comment.
karma, is that you? ![]()
Description
This enables building Mantis in a sandbox.
Proposed Solution
Use Sbtix to generate Nix expressions from
sbt configs. The generated Nix expressions are functionally equivalent to the
(already removed) verify.sbt file and must be updated on the same
occasions that verify.sbt would (i.e., whenever dependencies are updated or changed).
Testing