clisp: pin to readline6 to fix the build

On readline8 clisp fails to find the variables and fails to build:
https://hydra.nixos.org/log/rbykd92038rp80a71diyxqmbiz4m8f60-clisp-2.49.drv

    *** - FFI::FIND-FOREIGN-VARIABLE: foreign variable
      #<FOREIGN-VARIABLE "rl_readline_state" #x00007FFFF7FBC640> does not have
      the required size or alignment

The pin back fixes build for me.

Noticed by Athas on libera/#nixos.
This commit is contained in:
Sergei Trofimovich
2022-12-18 20:11:55 +00:00
parent 0cd235bc68
commit 83f6beddab
+7 -1
View File
@@ -15809,7 +15809,13 @@ with pkgs;
openssl = openssl_1_1;
};
clisp = callPackage ../development/interpreters/clisp { };
clisp = callPackage ../development/interpreters/clisp {
# On newer readline8 fails as:
# #<FOREIGN-VARIABLE "rl_readline_state" #x...>
# does not have the required size or alignment
readline = readline6;
};
clisp-tip = callPackage ../development/interpreters/clisp/hg.nix { };
clojupyter = callPackage ../applications/editors/jupyter-kernels/clojupyter {