|
Nix 2.35.2
Nix, the purely functional package manager; unstable internal interfaces
|
Classes | |
| struct | BuildTrace |
Protected Member Functions | |
| std::filesystem::path | goldenMaster (std::string_view testStem) const override |
| void | exportRefGraphSubpathTest (std::string_view stem, const Derivation &drv, const StructuredAttrs *parsed) |
| void | resolveExpect (std::string_view stem, const Derivation &drv, const BuildTrace &buildTrace, const BasicDerivation &expected) |
Static Protected Member Functions | |
| static DerivationOutput | caFloatingOutput () |
| static auto | makeCallback (const BuildTrace &table) |
Protected Attributes | |
| EnableExperimentalFeature | caFeature {"ca-derivations"} |
|
inlinestaticprotected |
Just here because we do this a few times in a tests.
|
protected |
Helper for the exportReferencesGraph + placeholder subpath tests.
Test that derivationOptionsFromStructuredAttrs can parse exportReferencesGraph entries that reference a CA derivation output with a subpath appended (e.g. ${dep}/foo), and that the parsed options resolve correctly.
Regression test for #15003: the placeholder + subpath was not found in the placeholder map (exact-match only), and the fallback to toStorePath() failed because placeholders don't start with /nix/store/.
|
inlinestaticprotected |
Build a callback from a BuildTrace lookup.
|
inlineprotected |
Checkpoint before/buildTrace/after and assert the resolved derivation matches expected.