Skip to content

nix flake check: Remove incorrect assertion#14482

Merged
edolstra merged 1 commit intomasterfrom
fix-nix-flake-check-crash-upstream
Nov 5, 2025
Merged

nix flake check: Remove incorrect assertion#14482
edolstra merged 1 commit intomasterfrom
fix-nix-flake-check-crash-upstream

Conversation

@edolstra
Copy link
Copy Markdown
Member

@edolstra edolstra commented Nov 5, 2025

Motivation

The assumption that no unknown paths can be returned is incorrect. It can happen if a derivation has outputs that are substitutable, but that have references that cannot be substituted (i.e. an incomplete closure in the binary cache). This can easily happen with magic-nix-cache.

Context


Add 👍 to pull requests you find important.

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

The assumption that no unknown paths can be returned is incorrect. It
can happen if a derivation has outputs that are substitutable, but
that have references that cannot be substituted (i.e. an incomplete
closure in the binary cache). This can easily happen with
magic-nix-cache.
@edolstra edolstra added the backport 2.32-maintenance Automatically creates a PR against the branch label Nov 5, 2025
@github-actions github-actions bot added the new-cli Relating to the "nix" command label Nov 5, 2025
@edolstra edolstra enabled auto-merge November 5, 2025 14:36
@edolstra edolstra added this pull request to the merge queue Nov 5, 2025
Merged via the queue into master with commit b177354 Nov 5, 2025
21 checks passed
@edolstra edolstra deleted the fix-nix-flake-check-crash-upstream branch November 5, 2025 19:51
@internal-nix-ci
Copy link
Copy Markdown

Successfully created backport PR for 2.32-maintenance:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.32-maintenance Automatically creates a PR against the branch new-cli Relating to the "nix" command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants