From 3c5da97609a6fc2ac2ac86afda54ac1b2dba36f3 Mon Sep 17 00:00:00 2001 From: sterni Date: Tue, 31 May 2022 17:11:58 +0200 Subject: 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 Reviewed-by: tazjin --- nix/buildLisp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nix') diff --git a/nix/buildLisp/default.nix b/nix/buildLisp/default.nix index d9f9e70a37a9..9d6ce4edda2e 100644 --- a/nix/buildLisp/default.nix +++ b/nix/buildLisp/default.nix @@ -515,8 +515,8 @@ let # See https://ccl.clozure.com/docs/ccl.html#building-definitions faslExt = /**/ - if targetPlatform.isPowerPC && targetPlatform.is32bit then "pfsl" - else if targetPlatform.isPowerPC && targetPlatform.is64bit then "p64fsl" + if targetPlatform.isPower && targetPlatform.is32bit then "pfsl" + else if targetPlatform.isPower && targetPlatform.is64bit then "p64fsl" else if targetPlatform.isx86_64 && targetPlatform.isLinux then "lx64fsl" else if targetPlatform.isx86_32 && targetPlatform.isLinux then "lx32fsl" else if targetPlatform.isAarch32 && targetPlatform.isLinux then "lafsl" -- cgit 1.4.1