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

acl2: 6.5 -> 7.4; sbcl: remove 1.2.0 and 1.3.12 #31264

Merged
merged 2 commits into from Nov 4, 2017

Conversation

kini
Copy link
Member

@kini kini commented Nov 4, 2017

Motivation for this change

Short summary: ACL2 is out of date so I figured I should update it. Also removed some obsolete SBCL versions. See below for the long version.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Note: execution of all binary files works equally well as the previous version did, though it could be improved -- the libraries are not installed, for example.


acl2: 6.5 -> 7.4, refactor

The make regression line was failing because the expression was
downloading a core-system-only, no-libraries source tarball. I
switched to using fetchFromGitHub, which downloads the full source
code -- the core system as well as the "community books",
i.e. libraries -- but the libraries unfortunately do not build yet
because they have more dependencies than the core system, and they
also run into some impurity problems during the build process.

This commit changes the ACL2 package so that at least the user will
obtain the latest version of the core system, even though they won't
get the community books. In a later commit I hope to fix this; it
will require either changes to ACL2 itself, or a patch to be applied
to ACL2 in nixpkgs.

ACL2 7.4 has no trouble building on the current version of SBCL in
nixpkgs, so I let it do so instead of using the ancient SBCL version
1.2.0 from 2014.

I also added myself as a maintainer to this package, since I'm an
active contributor to the ACL2 project and am interested in seeing it
working on Nix.

sbcl: remove old versions 1.2.0, 1.3.12

SBCL 1.2.0 was being retained for the acl2 package, which no longer
needs it. SBCL 1.3.12 was being retained for the maxima package,
which appears to no longer need it.

The `make regression` line was failing because the expression was
downloading a core-system-only, no-libraries source tarball.  I
switched to using fetchFromGitHub, which downloads the full source
code -- the core system as well as the "community books",
i.e. libraries -- but the libraries unfortunately do not build yet
because they have more dependencies than the core system, and they
also run into some impurity problems during the build process.

This commit changes the ACL2 package so that at least the user will
obtain the latest version of the core system, even though they won't
get the community books.  In a later commit I hope to fix this; it
will require either changes to ACL2 itself, or a patch to be applied
to ACL2 in nixpkgs.

ACL2 7.4 has no trouble building on the current version of SBCL in
nixpkgs, so I let it do so instead of using the ancient SBCL version
1.2.0 from 2014.

I also added myself as a maintainer to this package, since I'm an
active contributor to the ACL2 project and am interested in seeing it
working on Nix.
SBCL 1.2.0 was being retained for the acl2 package, which no longer
needs it.  SBCL 1.3.12 was being retained for the maxima package,
which appears to no longer need it.
@7c6f434c 7c6f434c merged commit af7be86 into NixOS:master Nov 4, 2017
@kini
Copy link
Member Author

kini commented Nov 4, 2017

I'd also like to ping @7c6f434c, who maintains ACL2 and SBCL, and @tohl, who maintains SBCL, as well as @peti, who maintains Maxima, since all three packages are affected. (Not sure how to request "reviewers" to this pull request, so I'm just pinging you in this comment.)

@kini
Copy link
Member Author

kini commented Nov 4, 2017

Oh, I see @7c6f434c already closed it. Never mind then, I guess... :)

@7c6f434c
Copy link
Member

7c6f434c commented Nov 4, 2017

Technically speaking, Maxima is not even affected.

@kini
Copy link
Member Author

kini commented Nov 4, 2017 via email

@7c6f434c
Copy link
Member

7c6f434c commented Nov 4, 2017

Your description for the pull request is definitely among the best-written ones… Thanks.

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.

None yet

2 participants