Merge pull request #100212 from regadas/100211_sbt_140

This commit is contained in:
Gabriel Ebner 2020-10-11 10:25:15 +02:00 committed by GitHub
commit b5f44603a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
echo -java-home ${jre.home} >>conf/sbtopts
'';
nativeBuildInputs = [ autoPatchelfHook ];
nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ autoPatchelfHook ];
buildInputs = [ zlib ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [ zlib ];
installPhase = ''
mkdir -p $out/share/sbt $out/bin