Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-02-17 06:14:55 +00:00
committed by GitHub
94 changed files with 777 additions and 649 deletions
@@ -1,6 +1,5 @@
{ lib, stdenv, fetchurl, graalvm11-ce, glibcLocales }:
with lib;
stdenv.mkDerivation rec {
pname = "babashka";
version = "0.2.10";
@@ -25,7 +24,7 @@ stdenv.mkDerivation rec {
native-image \
-jar ${src} \
-H:Name=bb \
${optionalString stdenv.isDarwin ''-H:-CheckToolchain''} \
${lib.optionalString stdenv.isDarwin ''-H:-CheckToolchain''} \
-H:+ReportExceptionStackTraces \
-J-Dclojure.spec.skip-macros=true \
-J-Dclojure.compiler.direct-linking=true \
@@ -30,6 +30,10 @@ stdenv.mkDerivation rec {
# Causes build failure due to warning
hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";
# Causes build failure due to warning
# https://github.com/jsoftware/jsource/issues/16
NIX_CFLAGS_COMPILE = "-Wno-error=return-local-addr";
buildPhase = ''
export SOURCE_DIR=$(pwd)
export HOME=$TMPDIR