dotty: 0.9.0-RC1 -> 0.10.0-RC1
This commit is contained in:
parent
5dea8fa3e7
commit
70178169fa
@ -1,15 +1,15 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, jre }:
|
{ stdenv, fetchurl, makeWrapper, jre, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.9.0-RC1";
|
version = "0.10.0-RC1";
|
||||||
name = "dotty-bare-${version}";
|
name = "dotty-bare-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/lampepfl/dotty/releases/download/${version}/dotty-${version}.tar.gz";
|
url = "https://github.com/lampepfl/dotty/releases/download/${version}/dotty-${version}.tar.gz";
|
||||||
sha256 = "1c24692081231415cb560ff1288ede3f0d28c8b994ce8ca7c7b06edf7978bfb8";
|
sha256 = "0s9vh0d6xx99gl0ji0dgmbq36f79c0iwfbrfqwmaclqm9yq5m54k";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ jre ] ;
|
propagatedBuildInputs = [ jre ncurses.dev ] ;
|
||||||
buildInputs = [ makeWrapper ] ;
|
buildInputs = [ makeWrapper ] ;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
fixupPhase = ''
|
fixupPhase = ''
|
||||||
bin_files=$(find $out/bin -type f ! -name common)
|
bin_files=$(find $out/bin -type f ! -name common)
|
||||||
for f in $bin_files ; do
|
for f in $bin_files ; do
|
||||||
wrapProgram $f --set JAVA_HOME ${jre}
|
wrapProgram $f --set JAVA_HOME ${jre} --prefix PATH : '${ncurses.dev}/bin'
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user