fix(nix/buildLisp): resolve eval problem in ccl code

The isPowerPC predicate has been [removed], since it was misleadingly
named (it just matches PowerPC, 32bit, little endian). This means the
64bit code path could now actually work.

Not sure about endianess, the CCL docs don't really say much regarding
that topic.

[removed]: https://github.com/NixOS/nixpkgs/pull/168113

Change-Id: Icf4a8c6b1df95fa597ed87508f57aaa73e6185ed
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5796
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
sterni 2022-05-31 17:11:58 +02:00 committed by clbot
parent 89f3f0a5dc
commit 3c5da97609

View file

@ -515,8 +515,8 @@ let
# See https://ccl.clozure.com/docs/ccl.html#building-definitions # See https://ccl.clozure.com/docs/ccl.html#building-definitions
faslExt = faslExt =
/**/ /**/
if targetPlatform.isPowerPC && targetPlatform.is32bit then "pfsl" if targetPlatform.isPower && targetPlatform.is32bit then "pfsl"
else if targetPlatform.isPowerPC && targetPlatform.is64bit then "p64fsl" else if targetPlatform.isPower && targetPlatform.is64bit then "p64fsl"
else if targetPlatform.isx86_64 && targetPlatform.isLinux then "lx64fsl" else if targetPlatform.isx86_64 && targetPlatform.isLinux then "lx64fsl"
else if targetPlatform.isx86_32 && targetPlatform.isLinux then "lx32fsl" else if targetPlatform.isx86_32 && targetPlatform.isLinux then "lx32fsl"
else if targetPlatform.isAarch32 && targetPlatform.isLinux then "lafsl" else if targetPlatform.isAarch32 && targetPlatform.isLinux then "lafsl"