-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
lisp-modules-new: bring over changes from recent nix-cl #193754
Conversation
FYI, at least hundreds of these new builds fail to build on Hydra. EDIT: something like 700 if I look at the three platforms present in the trunk jobset. |
https://hydra.nixos.org/eval/1782855?filter=lispPackages_new.&compare=1782832&full=#tabs-still-fail Here is a list of them. But I dont think it is that bad. Looking through some of them, I see a lot require native libraries, which means they will need to get some overrides. |
The top two "problematic dependencies" here: https://malob.github.io/nix-review-tools-reports/nixpkgs:trunk/nixpkgs_trunk_1782855.html |
I'll work on the |
I'll try to help improve the situation during the week too. On Friday I deployed a Hydra and setup a proof-of-concept jobset for testing Lisp packages. Maybe this can help us to improve things independent of pushes to NixOS upstream? I'm hopeful but I haven't really thought through the details yet or discussed it with anyone. Link: https://hydra.nuddy.co/ |
Maybe let's work on the |
I added the branch you used for this PR to that Hydra so that it is built too by a separate job. See link at Hydra will poll that branch every 5 minutes for a new build. Currently this setup has one 16-core Zen 3 CPU for builds. |
@Uthar I can also have Hydra build a different Nix expression if you like e.g. you could fork the Hydra has support for "declarative jobsets" where all this configuration can be defined in a Git repo and updated there. I just haven't quite gotten around to remembering how all that works so I'm manually setting up the jobs right now. |
Great stuff! I'll be pushing to the PR branch I'd like to figure out hydra myself some day |
I'm moving a discussion from Uthar/nix-cl#9 here because I think it has more appropriate reach: I'd like to define overlays on the Lisp packages and I suspect that we need to introduce one more layer of indirection to make this work. Specifically I think that we need to define each Lisp package as a function that returns a derivation, like this random python package, so that the callPackage design pattern can be used to regenerate each package with different dependencies. The issue now is that the only parameter we can pass into the Lisp package collection is which Lisp compiler to use, and then it uses that to generate derivations with So would it possibly make sense to copy the python packages design and generate a |
Based on Uthar/nix-cl@60dbe8f
Description of changes
recurseIntoAttrs
tosbclPackages
thanks @nagysbclPackages
thanks @lukegoimported.nix
to Quicklisp dist of 2022-07-08Added new packages:
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes