Add flake.nix for Nix package manager
Closes #82
Thank you for maintaining this fantastic project!
This pull request adds a flake.nix file to facilitate the installation of CIEL via Nix. As you may know, Nix’s official repository aggregates Lisp libraries from Quicklisp. If you plan to upload CIEL to Quicklisp in the future, this pull request may no longer be necessary.
However, until that exciting milestone, this flake.nix allows users to easily install CIEL using Nix.
Thank you again for your hard work on this project. I hope this addition proves helpful!
This pull request for nix still does not allow the ciel command line interface to parse arguments. This is due to the fact that the libreadline path is off when ciel is built as an executable. Therefore, this recipe outputs an image file, which is read by sbcl to invoke the REPL. readline bugs will be addressed in the future.
Is there any additional testing or dev required on this? I use nix for my dev environments and I would love to have a documented way to load ciel.
indeed it looks great. Everything's ready @tani ?
I only have a fear after your addition of ignore-errors and #+quicklisp (handle #-quicklisp and print a message?)
I have further improved the Nix setup to align more closely with Nix best practices, while ensuring the changes are harmless to the core CIEL codebase. When convenient, I would be grateful if you could review and, if everything looks good, proceed with the merge.