diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-05-29 22:17:08 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-05-29 22:22:28 +0200 |
commit | 49436bdbb77f32ffec2035e836add04f98be49e3 (patch) | |
tree | dcac4ef693b8eeee60b130bceac8452946c3ef86 /src/libmain | |
parent | 3488fa7c6cef487d3f9501e89894f9e632e678db (diff) |
nix flake info --json: List the "provides"
It also lists the contents of "checks" and "packages".
For example:
$ nix flake info --json | jq
{
"branch": "HEAD",
"description": "The purely functional package manager",
"epoch": 2019,
"id": "nix",
"lastModified": 1559161142,
"path": "/nix/store/2w2qla8735dbxah8gai8r1nsbf5x4f5d-source",
"provides": {
"checks": {
"binaryTarball": {},
"nix-copy-closure": {},
"perlBindings": {},
"remoteBuilds": {},
"setuid": {}
},
"defaultPackage": {},
"devShell": {},
"hydraJobs": {},
"packages": {
"nix": {},
"nix-perl-bindings": {}
}
},
"revCount": 6955,
"revision": "8cb24e04e8b6cc60e2504733afe78e0eadafcd98",
"uri": "/home/eelco/Dev/nix"
}
Fixes #2820.
Diffstat (limited to 'src/libmain')
0 files changed, 0 insertions, 0 deletions