Closed jakehamilton closed 9 months ago
Ah, didn't see that another PR fixes this same issue: https://github.com/gytis-ivaskevicius/flake-utils-plus/pull/134
Thanks for the effort but I merged the other one
No worries @gytis-ivaskevicius, I hope you are feeling better!
flake-utils-plus
currently has a bug to do with finding NixPkgs channels. It checks forlegacyPackages.x86_64-linux.nix
on each flake input to determine if it is NixPkgs. This typically works, but some flakes may definelegacyPackages
which can cause issues if they omit the system used for this check (among other issues). The fix adds an additional check to ensure that the entire attribute pathlegacyPackages.x86_64-linux.nix
exists rather than expectingx86_64-linux
to always be defined. This avoids the error that would prevent integrating tools like agenix in a flake that usesflake-utils-plus
.See a reproduction here: https://github.com/jakehamilton/fup-channels-bug