Skip to content

Conversation

@Ericson2314
Copy link
Member

Motivation

allowedReferences and friends can, in addition to supporting store paths (and placeholders, but because those will be rewritten to store paths), they also support to refering to other outputs in the derivation by name.

We update the tests in order to cover for that.

Context

(While we are at it, also introduce some scratch variables for paths and placeholders to make the C++ literalsf for this test more concise.)


Add 👍 to pull requests you find important.

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

`allowedReferences` and friends can, in addition to supporting store
paths (and placeholders, but because those will be rewritten to store
paths), they also support to refering to other outputs in the derivation
by name.

We update the tests in order to cover for that.

(While we are at it, also introduce some scratch variables for paths and
placeholders to make the C++ literalsf for this test more concise.)
@Ericson2314 Ericson2314 requested a review from edolstra as a code owner November 7, 2025 05:18
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Nov 7, 2025
@tomberek tomberek added this pull request to the merge queue Nov 10, 2025
Merged via the queue into NixOS:master with commit 65fbb4d Nov 10, 2025
16 checks passed
@Ericson2314 Ericson2314 deleted the output-check-intra-refs branch November 10, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants