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

How to deal with breaking changes in nixpkgs? #5

Open
xaverdh opened this issue Apr 26, 2020 · 1 comment
Open

How to deal with breaking changes in nixpkgs? #5

xaverdh opened this issue Apr 26, 2020 · 1 comment

Comments

@xaverdh
Copy link
Contributor

xaverdh commented Apr 26, 2020

Service definitions do break in nixpkgs from time to time (e.g.. with releases).
nixos-manager needs to somehow deal with this.

@xaverdh
Copy link
Contributor Author

xaverdh commented Apr 26, 2020

Actually I did give this some thought, and came up with the following scheme:

The services tab might show not just the options available in current nixpkgs, but a union of those and the options already set in services.nix. When an option is present in preexisting services.nix, but not in current nixpkgs, it would get visually marked somehow (color / a note or such), which tells the user that its not / no longer supported in nixpkgs and building the system will likely fail.
Also there could be a ui element for removing the option from services.nix at the users request.

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

1 participant