diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2024-05-23 14:02:41 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2024-05-23 14:07:53 +0700 |
commit | cbcb982a1d3847afa69deed5aad0ade9efd85c49 (patch) | |
tree | 5906d46728a93d4b40fdfe2f4207d15fe7e31ea9 /pkgs/development/interpreters | |
parent | d814dc6c5f364de83eb989e811ddd10a0f05bc70 (diff) |
s9fes: fix build on darwin
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/s9fes/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/s9fes/default.nix b/pkgs/development/interpreters/s9fes/default.nix index 7cf60b00eb9b0..4107b28e1cf9f 100644 --- a/pkgs/development/interpreters/s9fes/default.nix +++ b/pkgs/development/interpreters/s9fes/default.nix @@ -22,7 +22,11 @@ stdenv.mkDerivation rec { ''; buildInputs = [ ncurses ]; + preBuild = '' + makeFlagsArray+=(CFLAGS="-O2 -std=c89") + ''; makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "PREFIX=$(out)" ]; + enableParallelBuilding = true; # ...-bash-5.2-p15/bin/bash: line 1: ...-s9fes-20181205/bin/s9help: No such file or directory # make: *** [Makefile:157: install-util] Error 1 |