j: fix build

wip/yesman
Nathan van Doorn 3 years ago
parent 1159a79877
commit 637fcf2593
  1. 4
      pkgs/development/interpreters/j/default.nix

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

Loading…
Cancel
Save