Merge pull request #113316 from Taneb/fix-j

j: fix build
This commit is contained in:
Sandro 2021-02-17 01:59:07 +01:00 committed by GitHub
commit 290fdcf76f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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