Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give Derivation::tryResolve an evalStore argument #9563

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

Ericson2314
Copy link
Member

Motivation

This is needed for building CA deriations with a src store / dest store split. In particular it is needed for Hydra.

Context

NixOS/hydra#838 currently puts realizations, and thus build outputs, in the local store, but it should not.

Priorities

Add 👍 to pull requests you find important.

@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Dec 8, 2023
Copy link
Member

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the change is good overall (and needed by Hydra indeed).

I'm more reserved regarding 194ae13 which seems like a net-negative to me

@Ericson2314 Ericson2314 changed the title Give Derivation::tryResolve an evalStore argument, and other improvements Give Derivation::tryResolve an evalStore argument Dec 8, 2023
This is needed for building CA deriations with a src store / dest store
split. In particular it is needed for Hydra.

NixOS/hydra#838 currently puts realizations,
and thus build outputs, in the local store, but it should not.
@Ericson2314
Copy link
Member Author

I'm more reserved regarding 194ae13 which seems like a net-negative to me

Dropped it for now!

@thufschmitt thufschmitt merged commit 36ca6ad into NixOS:master Dec 8, 2023
@Ericson2314 Ericson2314 deleted the tryResolve-evalStore branch December 8, 2023 20:56
@Ericson2314 Ericson2314 added the backport 2.19-maintenance Automatically creates a PR against the branch label Dec 9, 2023
Copy link

github-actions bot commented Dec 9, 2023

Successfully created backport PR for 2.19-maintenance:

Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Dec 10, 2023
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Dec 11, 2023
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Dec 11, 2023
Picking up where NixOS#9563 left off.

(cherry picked from commit ba5349c)
Ericson2314 added a commit to obsidiansystems/nix that referenced this pull request Dec 11, 2023
github-actions bot pushed a commit that referenced this pull request Dec 11, 2023
Picking up where #9563 left off.

(cherry picked from commit 5f30c8a)
tebowy pushed a commit to tebowy/nix that referenced this pull request Jul 11, 2024
Give `Derivation::tryResolve` an `evalStore` argument

(cherry picked from commit 36ca6ad)
Change-Id: If76b185a01ffa982e4c49cf333a9b5fbf9edebfe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.19-maintenance Automatically creates a PR against the branch store Issues and pull requests concerning the Nix store
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants