Skip to content

turn 'derivation has incorrect deferred output' into warning#14739

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
Mic92:nix-develop
Dec 8, 2025
Merged

turn 'derivation has incorrect deferred output' into warning#14739
Ericson2314 merged 1 commit intoNixOS:masterfrom
Mic92:nix-develop

Conversation

@Mic92
Copy link
Member

@Mic92 Mic92 commented Dec 8, 2025

this breaks nix develop when using a stable nix version with ca derivations enabled on obht.

Motivation

Context


Add 👍 to pull requests you find important.

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

@Mic92
Copy link
Member Author

Mic92 commented Dec 8, 2025

@xokdvium this is the alternative. Another alternative would be dropping the check altogether.

@xokdvium
Copy link
Contributor

xokdvium commented Dec 8, 2025

This seems much saner than breaking daemon compat (even if it's for an XP feature only).

@Ericson2314
Copy link
Member

@xokdvium I don't really want to do this, because

  • it was a bug that we ever allowed it, and experimental features (especially my experimental faetures :))
  • I am going to do changes that invalid a lot of / all existing CA state anyways, so old clients for CA will not be supported anyways

At most, I would want this to be a transitional thing just for 2.33.

@Mic92 Mic92 force-pushed the nix-develop branch 2 times, most recently from c4c3f17 to cd11daf Compare December 8, 2025 19:22
@Mic92 Mic92 requested a review from Ericson2314 December 8, 2025 20:15
this breaks nix develop when using a stable nix version

Update src/libstore/derivations.cc

Co-authored-by: John Ericson <git@JohnEricson.me>
@Ericson2314 Ericson2314 enabled auto-merge December 8, 2025 20:57
@Ericson2314 Ericson2314 added this pull request to the merge queue Dec 8, 2025
Merged via the queue into NixOS:master with commit 28107db Dec 8, 2025
16 checks passed
@edolstra edolstra mentioned this pull request Dec 9, 2025
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