-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add flake.nix for Nix package manager #83
base: master
Are you sure you want to change the base?
Conversation
- Added instructions for installing CIEL using the Nix package manager. - Mentioned the required packages: `ciel` and `ciel` in SBCL.
Updated the installation instructions in `docs/install.md` to reflect the new configuration format. This includes changes to the `flake.nix` and `home.nix` files, as well as instructions for adding CIEL to the development environment.
- Added pygments to nativeLibs and buildInputs in flake.nix - Enabled syntax highlighting in sbcli - Set pygmentize path for sbcli
Updated the installation instructions for Nix package manager to specify that it applies to both Linux and macOS.
Updated the version extraction logic in flake.nix to use builtins.split instead of builtins.match. This change ensures the correct version is extracted from ciel.asd file.
This pull request for nix still does not allow the |
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. |
(ignore-errors (load "~/quicklisp/setup")) | ||
#+quicklisp | ||
(let ((*standard-output* (make-broadcast-stream))) | ||
(ql:quickload "cl-readline")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fear this fails silently for some users. Should you not handle the case of users who have Quicklisp, don't use Nix, but could have an error loading ~/quicklisp/setup and thus don't load cl-readline? Just print a warning on stdout.
indeed it looks great. Everything's ready @tani ? I only have a fear after your addition of |
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!