Add GUIX package definition for ACL2 running SBCL #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a complete GUIX package definition for ACL2 (A Computational Logic for Applicative Common Lisp) running on SBCL (Steel Bank Common Lisp), providing an alternative to the Docker-based installation.
What's Added
acl2.scm: Complete GUIX package definition that mirrors the Docker build processmanifest.scm: GUIX manifest for easy installation.guix-channel: Channel definition allowing this repository to be used as a GUIX channelGUIX-README.md: Comprehensive documentation for GUIX usagetest-guix-package.sh: Validation script for testing the packageREADME.mdto reference the GUIX build optionPackage Features
The GUIX package provides the same functionality as the existing Docker build:
-j 4)cert.pl,clean.pl,critpath.pl)ACL2_SYSTEM_BOOKS,ACL2)Installation Methods
Users can install ACL2 via GUIX in multiple ways:
Configuration Required
The package includes placeholder values for the ACL2 commit hash and SHA256 that users need to update:
guix hash -S git-recursive https://github.com/acl2/acl2.git <commit>commitandsha256values inacl2.scmThis approach ensures reproducible builds while allowing flexibility in ACL2 version choice.
Why GUIX?
GUIX provides several advantages over Docker for ACL2 development:
This addition complements the existing Docker build without replacing it, giving users more deployment options for ACL2.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
esm.ubuntu.com/usr/lib/apt/methods/https(dns block)git.savannah.gnu.orgwget REDACTED(dns block)git.tojo.tokyocurl -L REDACTED(dns block)https://api.github.com/repos/acl2/acl2/commits/mastercurl --silent REDACTED(http block)prdownloads.sourceforge.netwget REDACTED -O sbcl.tar.bz2 -q(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.