|
Nix 2.34.7
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| std::filesystem::path | goldenMaster (std::string_view testStem) const override |
| void | testRequiredSystemFeatures (const std::string &fileName, const StringSet &expectedFeatures) |
| void | testDerivationOptions (const std::string &fileName, const DerivationOptions< SingleDerivedPath > &expected, const StringSet &expectedSystemFeatures) |
Public Attributes | |
| ExperimentalFeatureSettings | mockXpSettings |
Protected Attributes | |
| std::filesystem::path | unitTestData = getUnitTestData() / "derivation" / "ia" |
|
inline |
Helper function to test DerivationOptions parsing and comparison
|
inline |
Helper function to test getRequiredSystemFeatures for a given derivation file
| ExperimentalFeatureSettings nix::DerivationAdvancedAttrsTest::mockXpSettings |
We set these in tests rather than the regular globals so we don't have to worry about race conditions if the tests run concurrently.