Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

tani
Copy link

@tani tani commented Nov 24, 2024

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!

tani added 5 commits November 24, 2024 16:59
- 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.
@tani
Copy link
Author

tani commented Nov 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant