From f0bd25f902f277acdca9d5c561bb8bf788478849 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Sat, 25 Apr 2026 10:45:31 +0100 Subject: [PATCH] fix: stop the "nix-colors / non-existent input nixpkgs" warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 52e3aa3..16d82fa 100644 --- a/flake.nix +++ b/flake.nix @@ -20,10 +20,10 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - nix-colors = { - url = "github:misterio77/nix-colors"; - inputs.nixpkgs.follows = "nixpkgs"; - }; + # nix-colors is a pure data flake (base16 schemes) — it has no inputs, + # so any `inputs.X.follows` declaration here triggers a "non-existent + # input" warning. Just URL it. + nix-colors.url = "github:misterio77/nix-colors"; stylix = { url = "github:danth/stylix"; inputs.nixpkgs.follows = "nixpkgs";