-
Notifications
You must be signed in to change notification settings - Fork 27
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
how to use on nixos? #311
Comments
Sorry, I am not a Nix user so I can't help with this one. Maybe someone else can step in here? |
@mattpolzin and @DanMax03 might help, as to my knowledge they are NixOS users |
The question is a bit vague for me to know exactly what the end goals are, but there are several potential answers depending on those goals. If you want to have Pack installed on your machine much like it would be on a non-nixos machine, you are going to want to install the following via your system config: idris2, gcc, and gmp. Then follow the Pack install instructions. I have not done this so you might hit a snag but nothing should stop you from doing it this way so any snag should be small. If you want to install Pack via a Nix derivation but otherwise use Pack as any other Pack user would to build your Idris2 programs, feel free to snag the derivation I wrote (has not been merged into nixpkgs yet): https://github.com/NixOS/nixpkgs/pull/344109/files If you want to go full nix on things (i.e. minimize the amount of stuff built & stored in your home folders and maximize the amount of stuff configured via Nix files), you can check out nix-idris2-packages which does not use Pack as its frontend but it pulls the exact same database of Idris2 packages in as Pack uses and enables you to use the [EDIT] I added |
As Mathew said, there is a giant issue in Depending on that, you may search for 2 possible solutions:
For the first option, I've heard about idr2nix and it seems to be quite fresh and rolling. The second option doesn't have a solution... yet Mathew also mentioned that you may try to mix NixOS with
Currently, I don't have time to dive into |
No description provided.
The text was updated successfully, but these errors were encountered: