So I have the following input:
{
flake-file.inputs.flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
}
But nix run .#write-flake ends up generating an extraneous nixpkgs-lib input for some reason:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
nixpkgs-lib.follows = "nixpkgs"; # <- why is this here?
};
}
What's causing this to happen?
So I have the following input:
But
nix run .#write-flakeends up generating an extraneousnixpkgs-libinput for some reason:What's causing this to happen?