hnix-store/hnix-store-json
sorki 496fb3284e 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.

Related to https://github.com/Gabriella439/Haskell-Nix-Derivation-Library/pull/24
2023-12-07 16:35:16 +01:00
..
src/System/Nix remote: deal with Realisation.id (required for the server side and qc prop) 2023-12-07 16:35:16 +01:00
tests make DerivationOutput explicitely generic 2023-12-07 16:35:16 +01:00
CHANGELOG.md init hnix-store-json 2023-12-07 16:35:16 +01:00
hnix-store-json.cabal init hnix-store-json 2023-12-07 16:35:16 +01:00
LICENSE init hnix-store-json 2023-12-07 16:35:16 +01:00
README.md init hnix-store-json 2023-12-07 16:35:16 +01:00

hnix-store-json

Aeson instances for core types.