Skip to content

libstore: pass StorePath to realPathInHost - #16442

Merged
Ericson2314 merged 1 commit into
NixOS:masterfrom
obsidiansystems:derivation-builder-store-path
Sep 9, 2026
Merged

libstore: pass StorePath to realPathInHost#16442
Ericson2314 merged 1 commit into
NixOS:masterfrom
obsidiansystems:derivation-builder-store-path

Conversation

@amaanq

@amaanq amaanq commented Sep 9, 2026

Copy link
Copy Markdown
Member

Motivation

realPathInHost is only called with store paths, so accepting a
StorePath avoids printing and parsing them again.

Context


Add 👍 to pull requests you find important.

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

@amaanq
amaanq requested a review from Ericson2314 as a code owner September 9, 2026 00:47
Comment thread src/libstore/unix/build/chroot-derivation-builder.cc Outdated
`realPathInHost` is only called with store paths, so accepting a
`StorePath` avoids printing and parsing them again.
@amaanq
amaanq force-pushed the derivation-builder-store-path branch from 938315c to c39c9f0 Compare September 9, 2026 00:56
@Ericson2314

Copy link
Copy Markdown
Member

This is an obvious solution, to a problem that @xokdvium pointed out, so I feel fine doing something close to a self-merge here.

@xokdvium xokdvium left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems fine from a glance with eyes half-open.

@Ericson2314
Ericson2314 added this pull request to the merge queue Sep 9, 2026
Merged via the queue into NixOS:master with commit 415988d Sep 9, 2026
16 checks passed
@Ericson2314
Ericson2314 deleted the derivation-builder-store-path branch September 9, 2026 02:54
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.

3 participants