fix: remove flake-parts nixpkgs-lib follows nixpkgs#2680
Conversation
|
@mightyiam, the PR is ready for review. |
|
Thank you for looking into this, @Lymah123. The solution in this PR is indeed a valid one, but I'd like to clarify the root cause, verbosely: The problem is a discrepency between the This can easily occur because, unlike other changes to inputs, changes to the Apparently, flake-parts needs a nixpkgs input that is a flake. What occurs in PRs that merely bump Nixpkgs, is that they trigger the propagation of Now, nixpkgs is an input that does not have any of its own flake inputs, so we don't mind keeping it |
Thank you for the detailed explanation. So the inconsistency between |
df29247 to
0acd6d6
Compare
0acd6d6 to
ba566f3
Compare
|
I think that the conventional commits type |
flake-partshas its ownnixpkgs-libinput from which it inheritslib. This repo was overriding that withinputs.nixpkgs-lib.follows = "nixpkgs", routing it through statix's ownnixpkgs. Sincenixpkgshasflake = false, it's a bare source tree with no flake outputs, soflake-partsfails to findnixpkgs-lib.liband evaluation errors immediately.Removing the
followsletsflake-partsuse its own pinnednixpkgs-lib, which is a proper flake. This fixes the nixpkgs bump failure reported in #2677