Synthetica9 / nix-linter

Linter for the Nix expression language
BSD 3-Clause "New" or "Revised" License
158 stars 16 forks source link

Check for cmake in buildInputs and warn that it should probably be in nativeBuildInputs #60

Closed kjeremy closed 2 years ago

expipiplus1 commented 2 years ago

doesn't seem wild, although this kind of thing would be better served by a "nixpkgs-linter" tool perhaps.

Synthetica9 commented 2 years ago

Yeah, nix-linter currently only checks for "structural" issues, i.e. things not specific to any one Nix project. I'm gonna this for now, but ideas like this definitely could go in a nixpkgs-specific linter.