Skip to content

nixos/parsedmarc: fix validation for smtp - #246992

Merged
talyz merged 1 commit into
NixOS:masterfrom
cransom:cransom-parsedmarc-smtp
Nov 16, 2023
Merged

talyz merged 1 commit into
NixOS:masterfrom
cransom:cransom-parsedmarc-smtp

Conversation

@cransom

@cransom cransom commented Aug 3, 2023

Copy link
Copy Markdown
Contributor

Update the ini generator so that a list of emails is accepted.

Description of changes

Add a missing apply so that the list for smtp.to passes the type check. Otherwise, only a null value is permitted.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • [] Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Update the ini generator so that a list of emails is accepted.
@github-actions github-actions Bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Aug 3, 2023
@ofborg ofborg Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Aug 3, 2023
@dotlambda
dotlambda requested a review from talyz October 29, 2023 16:49
@dotlambda dotlambda changed the title parsedmarc: fix validation for smtp nixos/parsedmarc: fix validation for smtp Oct 29, 2023
@dotlambda
dotlambda requested a review from vojta001 October 29, 2023 16:50
dotlambda

This comment was marked as resolved.

@talyz
talyz merged commit 9c4df4d into NixOS:master Nov 16, 2023
@talyz

talyz commented Nov 16, 2023

Copy link
Copy Markdown
Contributor

Thanks!

talyz added a commit to talyz/nixpkgs that referenced this pull request Feb 19, 2024
An incomplete implementation which left out null values was added in
NixOS#246992. Complete it by adding
the missing check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants