-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make DerivationOutput explicitely generic
It is already parametrized, but `name` field is too specific to accommodate i.e. `DerivationOutput StorePath` which is used by `Derivation` type. So we call it `output` instead and turn the type variable to just `a`. So * for `Realisation`s this is `DerivationOutput OutputName` * for `Derivation`s this is `DerivatonOutput StorePath` * for content addressed derivations this might be `DerivationOutput Void` as the path isn't known ahead of time. So only its shape is important.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters