Skip to content

Commit

Permalink
Merge pull request #84350 from bandresen/babashka_0.0.78->0.0.79
Browse files Browse the repository at this point in the history
babashka: 0.0.78 -> 0.0.89
  • Loading branch information
Mic92 authored Apr 27, 2020
2 parents 3b1e189 + f6ee88f commit bd282ba
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pkgs/development/interpreters/clojure/babashka.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{ stdenv, fetchurl, graalvm8 }:
{ stdenv, fetchurl, graalvm8, glibcLocales }:

with stdenv.lib;
stdenv.mkDerivation rec {
pname = "babashka";
version = "0.0.78";
version = "0.0.89";

reflectionJson = fetchurl {
name = "reflection.json";
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-reflection.json";
sha256 = "1m1nwdxjsc6bkdzkbsll316ly0c3qxaimjzyfph1220irjxnm7xf";
sha256 = "0bc5rbizd2lg7qfh733yiip8m9zqrwgjf5ca09sdibxp7nhhsjby";
};

src = fetchurl {
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
sha256 = "01w990zk5qjrbnc846snh6na002kdyrlrfnqwg03ibx20g3mr7if";
sha256 = "11jhqbm3svvikr9glz8wwps1267y25g3384ijw6avn267s7d7l8c";
};

dontUnpack = true;

buildInputs = [ graalvm8 ];
LC_ALL = "en_US.UTF-8";
nativeBuildInputs = [ graalvm8 glibcLocales ];

buildPhase = ''
native-image \
Expand All @@ -40,7 +41,8 @@ stdenv.mkDerivation rec {
--no-fallback \
--no-server \
--report-unsupported-elements-at-runtime \
"-J-Xmx3g"
"--initialize-at-run-time=org.postgresql.sspi.SSPIClient" \
"-J-Xmx4500m"
'';

installPhase = ''
Expand Down

0 comments on commit bd282ba

Please sign in to comment.