Skip to content

fix: quote WOT_REFRESH_INTERVAL value in .env.example#122

Merged
aaccioly merged 1 commit intobarrydeen:masterfrom
felixzieger:fix-env-example-toml-parse
Feb 27, 2026
Merged

fix: quote WOT_REFRESH_INTERVAL value in .env.example#122
aaccioly merged 1 commit intobarrydeen:masterfrom
felixzieger:fix-env-example-toml-parse

Conversation

@felixzieger
Copy link
Contributor

@felixzieger felixzieger commented Feb 27, 2026

Summary

  • Quote WOT_REFRESH_INTERVAL=24hWOT_REFRESH_INTERVAL="24h" in .env.example
  • The bare value 24h is not valid TOML (unquoted strings are not allowed)
  • This breaks the NixOS module in nixpkgs which parses .env.example with builtins.fromTOML to extract default settings

Error

error: while parsing TOML: [error] toml::parse_table: newline (LF / CRLF) or EOF is expected
 --> fromTOML
     |
 100 | WOT_REFRESH_INTERVAL=24h
     |                        ^-- here

The value "24h" must be quoted to be valid TOML. Without quotes,
TOML parsers reject it because bare strings are not allowed as values.

This breaks the NixOS module in nixpkgs which parses .env.example
with builtins.fromTOML to extract default settings.
@aaccioly aaccioly merged commit 1f81770 into barrydeen:master Feb 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants