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
Idris packages clean ups and updates #42861
Conversation
@infinisil you really have those packaged in nix? |
Why are Otherwise, looks like lots of good improvements. Thanks! |
@cnd Indeed, @brainrape did an amazing job at packaging lots of them in 23ee7c9 @mpickering It's not necessary (and there's the I just evaluated this: All packages depend on |
7420871
to
e332388
Compare
I don't agree with this. Adding the special case is not worth the very small amount of work about being explicit. It will only be confusing to someone later on I think. |
It is however also confusing having to specify dependencies |
I didn't realise that you didn't have to list them in the |
e332388
to
ef00734
Compare
Looks good, thanks a lot @infinisil ! I'm happy to see the Nix Idris support evolving, in fact I would like to propose it as the "official" package manager for Idris at some point before we go reinventing the wheel. I'm working on improving the Nixpkgs manual section on Idris. |
@brainrape Good point, I thought about that too, I changed it to |
Resembles idris --noprelude and --nobasepkgs arguments
a07c9cd
to
5f620d0
Compare
One thing I don't like is how the arguments are a negative (noPrelude instead of includePrelude or so), but I think it's alright since it corresponds to the flags. That good? |
Yeah, same here. Thanks! |
Waiting 2 more days for danilkolikov/categories#5 and david-christiansen/derive-all-the-instances#9 |
Above PR's haven't gotten any reaction in 7 days, merging now. |
These forks were introduced in NixOS#42861 to make the builds succeed. The changes have since been incorporated upstream.
Motivation for this change
prelude
andbase
as default dependencies, haveidris
as abuildInput
, propagate Idris'meta.platforms
to all packagesI recommend reviewing by commit, they represent above points in order. Edit: Right now it seems that GitHub somehow messed up the order.. it's correct directly viewed on my branch
For 6., these are the upstream PRs:
Fix for Idris 1.3 (backwards compatible) clayrat/idris-semidirect#2This PR should not be merged for 1 week (That's what the WIP indicates), to give the above PR's time to be merged, at which point I'll replace my fork with the master version. I propose to use my fork if it takes longer than that.
Ping @brainrape @shlevy @ttuegel
Things done
All
idrisPackages
that aren't broken (or have a broken dependency) now build successfully.sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)