Skip to content

Commit 4f24c59

Browse files
committed
Merge branch 'test-json' into derivation-work
2 parents ff132c0 + e5a6ee0 commit 4f24c59

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

hnix-store-core/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Unreleased
22

33
* Additions:
4-
* `System.Nix.Placeholder` module with `createPlaceholder`, `renderPlaceholder`, `DownstreamPlaceholder` support
5-
* `System.Nix.StorePath.ContentAddressed` module
4+
* `System.Nix.Placeholder` module with `DownstreamPlaceholder`, `createPlaceholder`, and `renderPlaceholder`
5+
* `System.Nix.StorePath.ContentAddressed` module, for creating content-addressed store paths
66
* `textToMethod`, `methodToText` in `System.Nix.ContentAddress`
77
* `parseBasePath`, `parseBasePathFromText` in `System.Nix.StorePath`
88
* `textToBaseEncoding`, `baseEncodingToText` in `System.Nix.Base`

hnix-store-json/CHANGELOG.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22

33
The test suite is now much more comprenesive, uses test data from upstream Nix to make sure the JSON formats match.
44

5-
* Comprehensive test suite with upstream Nix test data
6-
* Additions:
7-
* JSON instances for `StorePath`, `Hash`, `ContentAddress`
8-
* JSON instances for `OutputsSpec`, `SingleDerivedPath`, `DerivedPath`
9-
* JSON instances for `BuildTraceKey`, `Derivation`, `FreeformDerivationOutput`
10-
* Roundtrip property tests for all JSON-serializable types
5+
* JSON instance for `StorePath` now doesn't include the store dir, matching upstream.
6+
(This keeps it canonical.)
7+
8+
* New JSON instances for:
9+
* `Hash`,
10+
* `ContentAddress`
11+
* `OutputsSpec`
12+
* `SingleDerivedPath`
13+
* `DerivedPath`
14+
* `Derivation`
15+
* `FreeformDerivationOutput`
1116

1217
# 0.1.0.0 2024-07-31
1318

hnix-store-json/hnix-store-json.cabal

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ test-suite json
8585

8686
, aeson
8787
, bytestring
88-
, constraints-extras
8988
, containers
90-
, crypton
91-
, data-default-class
92-
, dependent-sum
9389
, hspec
94-
, some
9590
, time

0 commit comments

Comments
 (0)