1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-14 21:11:04 +01:00
nix/src/libexpr/flake
John Ericson 9121fed4b4 Fixing #7479
Types converted:

- `NixStringContextElem`
- `OutputsSpec`
- `ExtendedOutputsSpec`
- `DerivationOutput`
- `DerivationType`

Existing ones mostly conforming the pattern cleaned up:

- `ContentAddressMethod`
- `ContentAddressWithReferences`

The `DerivationGoal::derivationType` field had a bogus initialization,
now caught, so I made it `std::optional`. I think #8829 can make it
non-optional again because it will ensure we always have the derivation
when we construct a `DerivationGoal`.

See that issue (#7479) for details on the general goal.

`git grep 'Raw::Raw'` indicates the two types I didn't yet convert
`DerivedPath` and `BuiltPath` (and their `Single` variants) . This is
because @roberth and I (can't find issue right now...) plan on reworking
them somewhat, so I didn't want to churn them more just yet.

Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2023-08-18 11:44:00 -04:00
..
call-flake.nix flakes: Differentiate self.outPath and self.sourceInfo.outPath 2023-02-22 03:31:24 +01:00
config.cc Whitelist commit-lockfile-summary in flake nixConfig 2023-04-14 11:33:38 -07:00
flake.cc Move evaluator settings (type and global) to separate file/header 2023-07-31 10:14:15 -04:00
flake.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
flakeref.cc Fixing #7479 2023-08-18 11:44:00 -04:00
flakeref.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
lockfile.cc Explicitely define LockFile::operator!= 2023-04-05 17:20:04 +02:00
lockfile.hh Merge pull request #8170 from tweag/fix-aarch64-build 2023-04-11 12:35:23 +02:00