error: caught non-lix exception for bad inline toml machine specs #1083
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
awaiting
author
awaiting
contributors
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
Feature/S3
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lix-project/lix#1083
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
fails with
Expected behavior
a better error message. ignoring the builders entirely may be an option too, but a better message is mandatory
nix --versionoutputnix (Lix, like Nix) 2.95.0-pre20251215-dev_5376bbeisn't this an issue of the legacy format? toml11 throws a syntax error, we can't be sure that this must be a toml, so we try to parse it as legacy and that crashes. "In column three" is definitely a legacy error message
yes, it's a legacy error. it's a lot more likely to happen now though if people forget that toml needs its strings quoted, or have any syntax error in their toml files, and that makes for a really bad user experience
yes but you were opposed to using any other character as a toml indicator which would have resulted in a decent error message.
though we could potentially append the toml syntax error as context to the legacy error?
that would be a good option. against our initial thoughts ignoring the builders probably isn't a good idea since older versions wouldn't do that either