Skip to content

[2.31] develop: fill in output paths for shell derivation#14737

Closed
Mic92 wants to merge 1 commit into
NixOS:2.31-maintenancefrom
Mic92:backport-ca-develop-fix-2.31
Closed

[2.31] develop: fill in output paths for shell derivation#14737
Mic92 wants to merge 1 commit into
NixOS:2.31-maintenancefrom
Mic92:backport-ca-develop-fix-2.31

Conversation

@Mic92
Copy link
Copy Markdown
Member

@Mic92 Mic92 commented Dec 8, 2025

Newer nix daemons validate that derivations have their deferred outputs filled in. Fill in InputAddressed output paths for derivations that have Regular hash kind, while leaving CA floating derivations alone.

This matches the behavior of master's fillInOutputPaths().

Fixes compatibility with nix daemon >= 2.33.

Motivation

Context


Add 👍 to pull requests you find important.

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

@Mic92 Mic92 requested a review from edolstra as a code owner December 8, 2025 18:56
@Mic92 Mic92 changed the title develop: fill in output paths for shell derivation [2.31] develop: fill in output paths for shell derivation Dec 8, 2025
@github-actions github-actions Bot added the new-cli Relating to the "nix" command label Dec 8, 2025
Newer nix daemons validate that derivations have their deferred outputs
filled in. Fill in InputAddressed output paths for derivations that
have Regular hash kind, while leaving CA floating derivations alone.

This matches the behavior of master's fillInOutputPaths().

Fixes compatibility with nix daemon >= 2.33.
@Mic92 Mic92 force-pushed the backport-ca-develop-fix-2.31 branch from 0e8a748 to 4c2c0e7 Compare December 8, 2025 19:02
@xokdvium
Copy link
Copy Markdown
Contributor

xokdvium commented Dec 8, 2025

Same as in #14738?

@Mic92
Copy link
Copy Markdown
Member Author

Mic92 commented Dec 8, 2025

Same as in #14738?

yes.

@Mic92
Copy link
Copy Markdown
Member Author

Mic92 commented Dec 8, 2025

I guess we do #14739

@Mic92 Mic92 closed this Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-cli Relating to the "nix" command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants