-
Notifications
You must be signed in to change notification settings - Fork 12
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
build!(nix): reuse NixOS package #24
Conversation
b5781fa
to
f9b05d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
This has unfortunately broken the module for 23.05 because the module still refers to |
The module in this flake now also uses |
As I said, error: attribute 'tuxedo-rs' missing
This is easy to fix, but then the overlay is broken with NixOS 23.05 as well:
because it assumes that there is a tuxedo-rs in nixpkgs. So in short, this currently doesn't work for NixOS 23.05. :( My current workaround is to pin tuxedo-rs to a77a9f6. |
That's really nice but it's only a partial fix. The packages still can't be referenced, because the overlay depends on nixpkgs-unstable as well. |
Hmm, I guess this could be solved by passing the I'll look into it after work. |
I've added tuxedo-rs to NixOS/nixpkgs, and it is now available on the unstable branch.
This PR refactors the nix overlay to reuse the nixpkgs build, overriding the source, so that people who import this flake can use the latest
scm
version,It also modifies the flake's module, so that it is in line with the NixOS module (we can delete this flake's module once NixOS 23.11 has been released).