From 42cbb2b8a3385a0d28afae1eb48d104f0afd650d Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Tue, 25 Jul 2017 17:52:54 +0200 Subject: [PATCH] Update documentation to reflect new field names --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3b7c274..2dd9ad3 100644 --- a/README.md +++ b/README.md @@ -50,19 +50,19 @@ The above code will therefore produce output that looks something like this: { outputs: [ { name: 'dev', path: '/nix/store/lpwm4gcsda53g26jp6rxz4x13l8lywzg-libXdmcp-1.1.2-dev', - hashAlgorithm: '', - hash: '' }, + expectedHashAlgorithm: '', + expectedHash: '' }, /* ... snipped ... */ { name: 'out', path: '/nix/store/3iq0cd1ll0c7hss8xxgalxqn0jm0b2mi-libXdmcp-1.1.2', - hashAlgorithm: '', - hash: '' } ], + expectedHashAlgorithm: '', + expectedHash: '' } ], inputDerivations: [ { path: '/nix/store/3l3gnqvlwrmiqdma5vg3zibkabv4d6wh-pkg-config-0.29.drv', - inputDerivations: [ 'out' ] }, + wantedOutputs: [ 'out' ] }, /* ... snipped ... */ { path: '/nix/store/w3qvvackybwaq6d2sw58yacsrbbrxa4b-xproto-7.0.29.drv', - inputDerivations: [ 'out' ] } ], + wantedOutputs: [ 'out' ] } ], inputSources: [ '/nix/store/zsi9kk33hj7kvjfw0zahpdsiggg58nn4-builder.sh' ], platform: 'x86_64-linux', builder: '/nix/store/gabjbkwga2dhhp2wzyaxl83r8hjjfc37-bash-4.3-p48/bin/bash',