remove nixpkgs overwrite #7

Merged
nonapode merged 1 commit from nonapode/remove-nixpkgs-overwrite into main 2025-11-26 18:47:32 +01:00
Owner

As we now have a pattern where every host as its own repository and forwards the actual nixpkgs version, remove the ability to overwrite the used nixpkgs but instead use the provided nixpkgs input (that can be injected by the normal flake inputs.follows approach).

As we now have a pattern where every host as its own repository and forwards the actual nixpkgs version, remove the ability to overwrite the used nixpkgs but instead use the provided `nixpkgs` input (that can be injected by the normal flake inputs.follows approach).
nonapode force-pushed nonapode/remove-nixpkgs-overwrite from 7ad8bb3192 to 74ac2c76d3 2025-11-26 10:30:12 +01:00 Compare
horscchtey approved these changes 2025-11-26 10:48:50 +01:00
Owner

Please fix the resulting conflicts from pull request #5, otherwise this is good to go!

Please fix the resulting conflicts from pull request #5, otherwise this is good to go!
Author
Owner

Thinking about it again, I don't think we gain anything from this. While it probably will not be used (a lot/at all), it does not hinder us. We actually can remove all the inputs from the base flake itself, as the caller can inject the name to his liking and the base flake will be able to cope with it.

So I will simply remove the nixpkgs input (that was already intended to be overriden by the main-repo) and allow that main repo to specify what (main-repo-provided) input shall be used for the main nixpkgs of the system.

Thinking about it again, I don't think we gain anything from this. While it probably will not be used (a lot/at all), it does not hinder us. We actually can remove all the inputs from the `base` flake itself, as the caller can inject the name to his liking and the base flake will be able to cope with it. So I will simply remove the `nixpkgs` input (that was already intended to be overriden by the main-repo) and allow that main repo to specify what (main-repo-provided) input shall be used for the main nixpkgs of the system.
nonapode force-pushed nonapode/remove-nixpkgs-overwrite from 74ac2c76d3 to 72f2a2ddc0 2025-11-26 14:05:21 +01:00 Compare
nonapode deleted branch nonapode/remove-nixpkgs-overwrite 2025-11-26 18:47:33 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
nixos/base!7
No description provided.