Skip to content

stdenv/check-meta: move remedation message into dedicated file - #556367

Merged
infinisil merged 1 commit into
NixOS:masterfrom
andir:check-meta-remediations
Aug 28, 2026
Merged

infinisil merged 1 commit into
NixOS:masterfrom
andir:check-meta-remediations

Conversation

@andir

@andir andir commented Aug 25, 2026

Copy link
Copy Markdown
Member

This is moving the remediation messagesd into their dedicated file where all their (internal) utiltiy functions aren't cluttering the check-meta implementation and the remediation messages could potentially be emitted from other places in nixpkgs while keeping the styling the same.

The driving motivation behind this is moving more checks into meta.problems and there we should very likely emit the messages in the same flavour users might be used to (either visually, by script or the wording).

This was previously proposed as part of #545234 but is worthwhile on its own IMO and eases the need for constant rebasing on the other PR whenever something small changes in the remediation world.

Things done

@andir
andir requested review from infinisil and llakala August 25, 2026 10:37
@nixpkgs-ci
nixpkgs-ci Bot requested review from a team, Ericson2314 and adisbladis August 25, 2026 10:43
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: stdenv Standard environment labels Aug 25, 2026
@llakala

llakala commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Seems good in concept to me. I'll give a day or two for people to complain and then merge.

@infinisil infinisil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM!

This is moving the remediation messagesd into their dedicated file
where all their (internal) utiltiy functions aren't cluttering the
check-meta implementation and the remediation messages could
potentially be emitted from other places in nixpkgs while keeping the
styling the same.

The driving motivation behind this is moving more checks into
meta.problems and there we should very likely emit the messages in the
same flavour users might be used to (either visually, by script or the
wording).

This was previously proposed as part of NixOS#545234 but is worthwhile on
its own IMO.
@andir
andir force-pushed the check-meta-remediations branch from 62432c0 to 3ae30cc Compare August 28, 2026 12:10
@infinisil
infinisil enabled auto-merge August 28, 2026 12:11
@infinisil
infinisil added this pull request to the merge queue Aug 28, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Aug 28, 2026
Merged via the queue into NixOS:master with commit c3f20b9 Aug 28, 2026
25 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Stdenv Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: stdenv Standard environment 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants