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

Nix flake / nixpkgs package #97

Open
tulilirockz opened this issue Jan 13, 2024 · 2 comments
Open

Nix flake / nixpkgs package #97

tulilirockz opened this issue Jan 13, 2024 · 2 comments

Comments

@tulilirockz
Copy link

It would be awesome to have this package as a nix flake or a nix package so that people could either use them in Nix scripts, or just use it as a default shell on NixOS. And also it would provide a pretty sweet reproducible environment for anyone to use this in any linux distribuition. What do you all think?

@willghatch
Copy link
Owner

I would love to have a Nix package/flake. There was a project called Racket2Nix (https://github.com/fractalide/racket2nix) that was aimed at generating NixOS packages from Racket packages which I had hoped would make using Racket packages in NixOS easy, but I don't think it ever got to that point and I don't think it's currently being developed. I'm not sure if there are any other developments with regard to converting Racket packages to Nix packages like exists for other language-specific package managers. I use NixOS myself, but haven't tried to package Racket-related stuff for it -- I either use the Racket package in NixOS and install all of my Racket packages with raco pkg into my home directory, or I build from source in a nix-shell. I have never used flakes -- their experimental status scared me away from investing in them years ago and I have never bothered to learn how to use them since. Having Rash packaged nicely for NixOS would be a big upgrade for me, as I have to remember to manually install Rash and other Racket packages every time I update NixOS and get a new version of Racket.

I don't have the bandwidth to pursue it right now, but I would gladly take a PR that adds a Nix flake or package definition.

@nrabulinski
Copy link

Hey I just wanted to chime in that I also worked on a similar racket-nix compatibility layer as racket2nix didn’t seem to work for me https://github.com/nrabulinski/racket.nix. The sad part is that I also don’t really have the time to work on this so it may be currently broken but last time I checked I was able to package and use rash using it (which was the main point for me), even if it was pretty involved. Here’s the full package along with my config, all wrapped with wrapper-manager: https://github.com/nrabulinski/settei/blob/main/wrappers/rash/default.nix

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

No branches or pull requests

3 participants