[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scala package
From: |
Leo Prikler |
Subject: |
Re: Scala package |
Date: |
Tue, 18 May 2021 09:08:22 +0200 |
User-agent: |
Evolution 3.34.2 |
Hi Julien,
Am Dienstag, den 18.05.2021, 01:01 +0200 schrieb Julien Lepiller:
> Hi Guix!
>
> I have the attached file that build Scala, although it's not
> bootstrapped at all. It contains %binary-scala, a few dependencies of
> Scala we haven't packaged yet, and the final scala, built from
> %binary-scala, without sbt (which requires Scala too).
>
> Since I've tried and failed to bootstrap Scala for so long, I think
> it's time to give up. I can't always create miracles.
Some points relevant to bootstrapping:
- The last version, that ships "scalai" written in Java seems to be
v1.4.0+4. Perhaps one can use scalai to bootstrap scalac within it.
- The last version, that does not "require" sbt is 2.11.x,
though with your workaround we can also build later versions.
Would it generally be possible to use scalac 1.4 to compile any 2.x
version? (We can first assume that we have this scalac as binary, and
hopefully construct our chain from there similar to Rust. Then we
"only" need to somehow bootstrap 1.4)
> If this is acceptable, I will send actual patches later, and rework
> the sbt package I had around 2018 (I managed to build it with a Scala
> compiler, without a pre-existing sbt).
IIRC, there are some bootstrap binaries well hidden within Guix source
code, but this obviously does not look nice.
> (license license:bsd-3)))
I think it's actually Apache 2.0
- Scala package, Julien Lepiller, 2021/05/17
- Re: Scala package,
Leo Prikler <=
- Re: Scala package, Ludovic Courtès, 2021/05/18
- Re: Scala package, Katherine Cox-Buday, 2021/05/19
- Re: Scala package, Shyam Saran, 2021/05/20
- Re: Scala package, Julien Lepiller, 2021/05/20
- Re: Scala package, Shyam Saran, 2021/05/22