Open
Description
Describe the bug
I can't chain multiple inputs.
when specifying a .follows
.
Steps To Reproduce
Using this flake.nix
, the systems are still duplicated in the lockfile. In particular, inputs.flake-utils.inputs.systems.follows = "systems"
seems to have no effect.
{
description = "foo";
inputs = {
systems.url = "github:nix-systems/default";
lanzaboote = {
url = "github:nix-community/lanzaboote/v0.4.1";
inputs.flake-utils.inputs.systems.follows = "systems";
};
};
outputs = _: {};
}
Expected behavior
The systems inputs should not be duplicated. Note that the documentation states that this should be allowed: “Transitive inputs can be overridden from a flake.nix file” and “Overrides and follows can be combined” suggest that the inputs.
can chain unboundedly.
Metadata
nix-env (Nix) 2.25.2
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.