lix/src/nix
Eelco Dolstra c2b0d8749f
exportReferencesGraph: Export more complete info in JSON format
This writes info about every path in the closure in the same format as
‘nix path-info --json’. Thus it also includes NAR hashes and sizes.

Example:

  [
    {
      "path": "/nix/store/10h6li26i7g6z3mdpvra09yyf10mmzdr-hello-2.10",
      "narHash": "sha256:0ckdc4z20kkmpqdilx0wl6cricxv90lh85xpv2qljppcmz6vzcxl",
      "narSize": 197648,
      "references": [
        "/nix/store/10h6li26i7g6z3mdpvra09yyf10mmzdr-hello-2.10",
        "/nix/store/27binbdy296qvjycdgr1535v8872vz3z-glibc-2.24"
      ],
      "closureSize": 20939776
    },
    {
      "path": "/nix/store/27binbdy296qvjycdgr1535v8872vz3z-glibc-2.24",
      "narHash": "sha256:1nfn3m3p98y1c0kd0brp80dn9n5mycwgrk183j17rajya0h7gax3",
      "narSize": 20742128,
      "references": [
        "/nix/store/27binbdy296qvjycdgr1535v8872vz3z-glibc-2.24"
      ],
      "closureSize": 20742128
    }
  ]

Fixes #1134.
2017-01-26 20:41:08 +01:00
..
build.cc Fix build 2016-02-25 11:55:05 +01:00
cat.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
command.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
command.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
copy.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
hash.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
installables.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
installables.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
legacy.cc Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
legacy.hh Fix Darwin build 2016-03-15 12:11:27 +01:00
local.mk Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
ls.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
main.cc nix: Disable verbose builds 2016-04-25 19:18:45 +02:00
path-info.cc exportReferencesGraph: Export more complete info in JSON format 2017-01-26 20:41:08 +01:00
progress-bar.cc Shut up some clang warnings 2016-05-31 13:31:04 +02:00
progress-bar.hh Improved logging abstraction 2016-04-25 19:18:45 +02:00
run.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
sigs.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
verify.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00