3
0
Fork 0
forked from mirrors/nixpkgs

j: fix build

This commit is contained in:
Nathan van Doorn 2021-02-16 14:26:06 +00:00
parent 1159a79877
commit 637fcf2593

View file

@ -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