RFC 140 migration: misleading CI error for aliases #285368
Labels
0.kind: bug
Something is broken
6.topic: continuous integration
Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions
Milestone
Describe the bug
When defining an alias for a top-level package in
pkgs/top-level/all-packages.nix
, the RFC 140 related CI will misinterpret it as acallPackage
invocation and complain. Even if aliases were forbidden by RFC 140 (which isn't obvious, the public document lists them as "unresolved"), the error message should not be misleading.Steps To Reproduce
Steps to reproduce the behavior:
pkgs/top-level/all-packages.nix
Expected behavior
Since there is no indication that aliases are disallowed, there should be no error at all. At the very least, it should not be misleading.
Additional context
Can be seen in #256115 (https://github.com/NixOS/nixpkgs/actions/runs/7732190624/job/21081562936?pr=256115)
Notify maintainers
Not sure where to lookup maintainers here. I guess @infinisil might be knowledgeable about this due to dedicated involvement in RFC 140 automation.
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: