Merge pull request #120933 from skykanin/dotty-update

dotty: 0.26.0-RC1 -> 3.0.0-RC3
This commit is contained in:
Sandro 2021-04-30 08:46:22 +02:00 committed by GitHub
commit 3d078c89a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View file

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, makeWrapper, jre, ncurses }:
stdenv.mkDerivation rec {
version = "0.26.0-RC1";
version = "3.0.0-RC3";
pname = "dotty-bare";
src = fetchurl {
url = "https://github.com/lampepfl/dotty/releases/download/${version}/dotty-${version}.tar.gz";
sha256 = "16njy9f0lk7q5x5w1k4yqy644005w4cxhq20r8i2qslhxjndz66f";
url = "https://github.com/lampepfl/dotty/releases/download/${version}/scala3-${version}.tar.gz";
sha256 = "1xp9nql2l62fra8p29fgk3srdbvza9g5inxr8p0sihsrp0bgxa0m";
};
propagatedBuildInputs = [ jre ncurses.dev ] ;

View file

@ -13,9 +13,10 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/bin
ln -s ${dotty-bare}/bin/dotc $out/bin/dotc
ln -s ${dotty-bare}/bin/dotd $out/bin/dotd
ln -s ${dotty-bare}/bin/dotr $out/bin/dotr
ln -s ${dotty-bare}/bin/scalac $out/bin/scalac
ln -s ${dotty-bare}/bin/scaladoc $out/bin/scaladoc
ln -s ${dotty-bare}/bin/scala $out/bin/scala
ln -s ${dotty-bare}/bin/common $out/bin/common
'';
inherit (dotty-bare) meta;