diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-08-25 11:13:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 11:13:15 -0400 |
commit | 50f40ac4c03bcb742cda29de04c40e1a29367acc (patch) | |
tree | 1e0e64102da327dd9e858182b1f197e008c3750a /src/libstore/realisation.hh | |
parent | b563ef38cca8f247a21b86c157feabcf94d66c09 (diff) | |
parent | 5e3986f59cb58f48186a49dcec7aa317b4787522 (diff) |
Merge pull request #8829 from obsidiansystems/build-dynamic-derivations
Adapt scheduler to work with dynamic derivations
Diffstat (limited to 'src/libstore/realisation.hh')
-rw-r--r-- | src/libstore/realisation.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/realisation.hh b/src/libstore/realisation.hh index 0548b30c1..559483ce3 100644 --- a/src/libstore/realisation.hh +++ b/src/libstore/realisation.hh @@ -34,7 +34,7 @@ struct DrvOutput { /** * The name of the output. */ - std::string outputName; + OutputName outputName; std::string to_string() const; @@ -84,7 +84,7 @@ struct Realisation { * Since these are the outputs of a single derivation, we know the * output names are unique so we can use them as the map key. */ -typedef std::map<std::string, Realisation> SingleDrvOutputs; +typedef std::map<OutputName, Realisation> SingleDrvOutputs; /** * Collection type for multiple derivations' outputs' `Realisation`s. @@ -146,7 +146,7 @@ public: MissingRealisation(DrvOutput & outputId) : MissingRealisation(outputId.outputName, outputId.strHash()) {} - MissingRealisation(std::string_view drv, std::string outputName) + MissingRealisation(std::string_view drv, OutputName outputName) : Error( "cannot operate on output '%s' of the " "unbuilt derivation '%s'", outputName, |