Skip to content

activation: Get activation package with --print-out-paths#523

Open
petm5 wants to merge 1 commit into
nix-community:masterfrom
petm5:faster-activation
Open

activation: Get activation package with --print-out-paths#523
petm5 wants to merge 1 commit into
nix-community:masterfrom
petm5:faster-activation

Conversation

@petm5
Copy link
Copy Markdown

@petm5 petm5 commented Apr 12, 2026

Nix is currently called a second time after the activation package build to find its path in the store. This causes the nix-on-droid config to be evaluated twice, adding overhead and slowing down iteration.

Modern Nix outputs build logs to STDERR and capturing the path from STDOUT should be safe. Only the first line is used in case the config outputs multiple paths for some reason.

Nix is currently called a second time after the activation package build
to find its path in the store. This causes the nix-on-droid config to be
evaluated twice, adding overhead and slowing down iteration.

Modern Nix outputs build logs to STDERR and capturing the path from
STDOUT should be safe. Only the first line is used in case the config
outputs multiple paths for some reason.
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.

1 participant