NixOS / NixOS/ofborg

Evaluation check does not consider `passthru` and thus `passthru.tests`

Open
#524 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
323
Forks
171
PR merge metrics
No merged PRs in 30d

Description

The evaluation check does not evaluate the passthru of derivations. Therefore, if there are for example tests, but the derivations don't get build, any evaluation error in the tests is not seen either.

In this PR there was a force push in which a certain parameter nixosTests was forgotten.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the evaluation check and how derivation passthru attributes are handled. Reproduce the issue with a derivation containing passthru.tests, then verify that evaluation errors in those tests are reported even when the derivation is not built.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.