1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-18 00:12:43 +01:00
nix/src/libstore/unix/build
John Ericson 9ccbe23056 DerivationBuilder Change missing initialOutput if..throw to assert
Since this goal has no (goal-wide) notion of "wanted outputs" (we're
building the derivation, and thus making all outputs), we should have
`initialOutputs` for all outputs, and if we're missing one that's an
internal error caused by a bug in Nix.

Concretely, `DerivationBuildingGoal::gaveUpOnSubstitution` now clearly
does create `initialOutputs` for all outputs, whereas a few commits ago
that was not obvious, so I feel confident in saying that this invariant
that should be upheld, in fact is upheld.

`scatchOutputs` is initialized for every initial output, so the same
change to it follows for the same reasons.
2025-08-15 15:50:46 -04:00
..
child.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
chroot-derivation-builder.cc Give DerivationBuilder a LocalStore not Store 2025-08-15 15:50:36 -04:00
darwin-derivation-builder.cc Give DerivationBuilder a LocalStore not Store 2025-08-15 15:50:36 -04:00
derivation-builder.cc DerivationBuilder Change missing initialOutput if..throw to assert 2025-08-15 15:50:46 -04:00
hook-instance.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
linux-derivation-builder.cc Give DerivationBuilder a LocalStore not Store 2025-08-15 15:50:36 -04:00
sandbox-defaults.sb libstore: fix Unix sockets in the build directory on sandboxed macOS 2025-07-13 19:19:38 +03:00
sandbox-minimal.sb Build a minimized Nix with MinGW 2024-04-17 12:26:10 -04:00
sandbox-network.sb Build a minimized Nix with MinGW 2024-04-17 12:26:10 -04:00