diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-01-02 13:41:43 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-01-02 13:41:43 +0100 |
commit | df931c41b42acc7bcd8436a59c693e4449ff752e (patch) | |
tree | f839291a1397ec61bc611b6c9a31cbbe42f87b2f /pkgs/development/compilers/ats2 | |
parent | 1ca08d4c638a89f2c82bec993f9ca4893faf3241 (diff) |
ats2: add darwin support
Diffstat (limited to 'pkgs/development/compilers/ats2')
-rw-r--r-- | pkgs/development/compilers/ats2/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ats2/default.nix b/pkgs/development/compilers/ats2/default.nix index f8de9f57b5d3b..a5c4f00f0f5ef 100644 --- a/pkgs/development/compilers/ats2/default.nix +++ b/pkgs/development/compilers/ats2/default.nix @@ -40,6 +40,11 @@ stdenv.mkDerivation rec { # *** No rule to make target 'patscc.dats', needed by 'patscc_dats.c'. Stop. enableParallelBuilding = false; + makeFlags = [ + "CC=${stdenv.cc.targetPrefix}cc" + "CCOMP=${stdenv.cc.targetPrefix}cc" + ]; + setupHook = with lib; let hookFiles = @@ -55,7 +60,7 @@ stdenv.mkDerivation rec { description = "Functional programming language with dependent types"; homepage = "http://www.ats-lang.org"; license = licenses.gpl3Plus; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ thoughtpolice ttuegel bbarker ]; }; } |