Skip to content

ParsedDerivation: don't take drvPath#13015

Merged
mergify[bot] merged 1 commit into
NixOS:masterfrom
obsidiansystems:derivation-options
Apr 14, 2025
Merged

ParsedDerivation: don't take drvPath#13015
mergify[bot] merged 1 commit into
NixOS:masterfrom
obsidiansystems:derivation-options

Conversation

@Ericson2314
Copy link
Copy Markdown
Member

@Ericson2314 Ericson2314 commented Apr 13, 2025

Motivation

It is just use for adding context to errors, but we have addTrace to do that. Let the callers do that instead.

The callers doing so is a bit duplicated, yes, but this will get better once DerivationOptions is included in Derivation.

Context

Preparing the way for #10760, and the issues it addresses.

Progress on #9846


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

It is just use for adding context to errors, but we have `addTrace` to
do that. Let the callers do that instead.

The callers doing so is a bit duplicated, yes, but this will get better
once `DerivationOptions` is included in `Derivation`.
@Ericson2314 Ericson2314 requested a review from edolstra as a code owner April 13, 2025 22:30
@Mic92
Copy link
Copy Markdown
Member

Mic92 commented Apr 14, 2025

@Mergifyio queue

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 14, 2025

queue

✅ The pull request has been merged automatically

Details

The pull request has been merged automatically at b1fe93f

mergify Bot added a commit that referenced this pull request Apr 14, 2025
@mergify mergify Bot merged commit b1fe93f into NixOS:master Apr 14, 2025
@Ericson2314 Ericson2314 deleted the derivation-options branch April 14, 2025 14:40
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