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
Make it possible to not rebuild deploy-rs #207
Conversation
Use the deploy-rs from the final packages set. This can avoid rebuilding deploy-rs when using it in a nixos config. It can use the version cached in nixpkgs. Also add instructions to the readme on how to craft an overlay that uses nixpkgs deploy-rs.
Thanks! |
I am seeing the |
Hmm, not really, not sure why checks weren't triggered for external contributor PR |
@Flakebi question, how does this overlay work? So there's the overlay from the flake and then there's this expression: (self: super: { deploy-rs = { inherit (pkgs) deploy-rs; lib = super.deploy-rs.lib; }; }) the way I read the spec is that this function should return an attrset of packages, however it's returning |
This structure is defined here in the flake: Lines 31 to 42 in 724463b
|
Thank you for the clarification. That's mighty confusing 😅 |
Thank you for this! Is there a way to make this work when deploy host Or is using the flake the only way in such a case? |
I think the only viable way at the moment is to use |
Use the deploy-rs from the final packages set. This can avoid rebuilding deploy-rs when using it in a nixos config. It can use the version cached in nixpkgs.
Also add instructions to the readme on how to craft an overlay that uses nixpkgs deploy-rs.
This should fix #163.