diff options
author | Aleksana <me@aleksana.moe> | 2024-05-24 15:03:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-24 15:03:25 +0800 |
commit | 835297d87f7ba1350c0fd0368c042a3cfb62fc61 (patch) | |
tree | b196b9e92450e5046157669b825e1bd16d66d483 /pkgs/development/interpreters | |
parent | 3e4b79f710c019f7bb418e84ff4257457fb09b6f (diff) | |
parent | cbcb982a1d3847afa69deed5aad0ade9efd85c49 (diff) |
Merge pull request #313894 from siraben/s9fes-darwin
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 |