DeterminateSystems / flake-checker-action

A GitHub Action that performs health checks for your Nix flake.lock files
https://github.com/marketplace/actions/nix-flake-checker
MIT License
54 stars 4 forks source link

Feature idea: check multiple nixpkgs #7

Closed dpc closed 1 year ago

dpc commented 1 year ago

It's quite common for our project to need something from nixpkgs-unstable, while we prefer to stick with nixpkgs/nixos-xx.yy for everything else. So we import nixpkgs twice (actually 3 times, for reasons...) and mix and match.

Anyway - would be nice if we could check multiple/other inputs as well.

lucperkins commented 1 year ago

@dpc This is actually already possible 😄 You can run this in that repo:

flake-checker --nixpkgs-keys nixpkgs,nixpkgs-unstable,nixpkgs-kitman

And in the Action you can use the nixpkgs-keys config.