babashka: utf8 + nativeBuildinputs fix

utf8: see borkdude/babashka/issues/359
nativeBuildinputs: this PR's review
This commit is contained in:
Benjamin Andresen 2020-04-22 00:07:41 +02:00
parent 07f69d4e37
commit a7f59a5946

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, graalvm8 }:
{ stdenv, fetchurl, graalvm8, glibcLocales }:
with stdenv.lib;
stdenv.mkDerivation rec {
@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
dontUnpack = true;
buildInputs = [ graalvm8 ];
LC_ALL = "en_US.UTF-8";
nativeBuildInputs = [ graalvm8 glibcLocales ];
buildPhase = ''
native-image \