[20.09] j: fix build on darwin

(cherry picked from commit fbefec0)
This commit is contained in:
Luflosi
2020-09-09 12:20:48 +02:00
parent 2b4b36a3eb
commit efc358ed37

View File

@@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
doCheck = true;
# Causes build failure due to warning
hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "strictoverflow";
buildPhase = ''
export SOURCE_DIR=$(pwd)
export HOME=$TMPDIR