-
-
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
Feature Request: Package for Guix #36
Comments
I have started on this, but I expect #69 to be a blocking issue in the end, when submitting a patch to Guix. Of course the main work is packaging all the dependencies that are missing so far, so this is not an urgent matter. |
There is already a package for CIEL 0.1.0 in Guix: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/lisp-xyz.scm#n3464 |
The only missing packages are:
Maybe some existing packages need updates though. |
I have a first working version of CIEL and all dependencies in Guix. I'll have to clean up the definitions before submitting them, but I don't expect any problems from now on. @vindarel I think you can close this issue. No PR will ever come for it, because Guix package definitions are submitted to Guix, not here. |
That's really great, thanks! Where can we see the package definition? (a repo of yours?) We'll close this by adding a section with links in the doc ;) (and I might try it) ps: do you have a rough estimate of the disk space installing ciel with guix takes? |
For now, the package definitions are in local files on my computer. I am testing and polishing them one by one, and then I submit them to Guix by e-mail. So far I have submitted:
The submissions are checked by a Guix maintainer, which may take a while, in particular if I overlooked some convention. Once they are OK, they will be added to the official Guix repository at https://git.savannah.gnu.org/git/guix.git. Disk size estimates are tricky - compared to what? If you install Guix just to get ciel, it's going to be prohibitive. If you already have Guix, and SBCL with all ciel dependencies installed via Guix, then adding ciel is less than one MB. Here's a size analysis for ciel with all its dependencies (in the Guix sense, which includes everything required to build SBCL!):
|
I just got the REPL binary to build and work, that was the last missing piece. I had to remove the Quicklisp import in |
@vindarel What is the reason for calling For Guix, this is a problem because the scripts will be in different locations depending on how the package is used (in a profile, in a container, etc.). So the paths to the scripts cannot be hard-coded in the binary. |
It's to save them in the file binary at build time, to call them when we use a CIEL binary, without the sources on disk. |
I feel it would be the right way to make ciel/repl depend on ciel, but I had side effects (some notes in files). So when building the binary I load both:
(where we would naturally try to load ciel/repl only) |
I can't do that under Guix, unfortunately. The Guix build system for Lisp relies 100% on ASDF for loading stuff. As for the scripts, I hadn't noticed that the whole script is loaded at build time. That's something I can do under Guix as well. |
I just submitted my packages to Guix! World domination is near! ;-) |
The packages are in Guix now, and the documentation is at #78. |
Awesome! And thanks for documenting it. That is important for all of us that will adopt the Guix package. |
Can we close this issue now? |
Awesome, thank you! |
Hi,
Would anyone like to package this for Guix?
The text was updated successfully, but these errors were encountered: