hercules-ci / flake-parts

❄️ Simplify Nix Flakes with the module system
https://flake.parts
MIT License
699 stars 38 forks source link

raise error when flake attribute doesn't exist #200

Closed DavHau closed 6 months ago

DavHau commented 7 months ago

Currently when trying to access packages from input flakes for a system that isn't supported by that flake, the error is not very conclusive. It costed me at least an hour to grasp this. Now putting in this error message to prevent others from falling into the same trap.