fix: stop the "nix-colors / non-existent input nixpkgs" warning

nix-colors is a pure data flake (base16 schemes) — it declares no inputs,
so `inputs.nixpkgs.follows = "nixpkgs"` against it produces a warning on
every evaluation. Drop the override and just `url`-import it.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Bernardo Magri
2026-04-25 10:45:31 +01:00
parent 955269f9a2
commit f0bd25f902

View File

@@ -20,10 +20,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-colors = { # nix-colors is a pure data flake (base16 schemes) — it has no inputs,
url = "github:misterio77/nix-colors"; # so any `inputs.X.follows` declaration here triggers a "non-existent
inputs.nixpkgs.follows = "nixpkgs"; # input" warning. Just URL it.
}; nix-colors.url = "github:misterio77/nix-colors";
stylix = { stylix = {
url = "github:danth/stylix"; url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";