lix/src/libcmd
Eelco Dolstra 300753d594 nix build --json: Include build statistics
Example:

  # nix build -L --extra-experimental-features cgroups --impure --expr 'with import <nixpkgs> {}; runCommand "foo" {} "dd if=/dev/urandom bs=1M count=1024 | md5sum; mkdir $out"' --json
  [
    {
      "cpuSystem": 1.911431,
      "cpuUser": 1.214249,
      "drvPath": "/nix/store/xzdqz67xba18hljhycp0hwfigzrs2z69-foo.drv",
      "outputs": {
        "out": "/nix/store/rh9mc9l2gkpq8kn2sgzndr6ll7ffjh6l-foo"
      },
      "startTime": 1669024076,
      "stopTime": 1669024079
    }
  ]
2022-11-21 10:49:01 +01:00
..
command.cc Improve --profile description 2022-10-24 08:49:46 +02:00
command.hh Merge pull request #6693 from ncfavier/complete-flake-inputs 2022-07-12 09:12:00 +02:00
common-eval-args.cc Move some options into a misc category 2022-10-12 15:09:17 +02:00
common-eval-args.hh Move some options into a misc category 2022-10-12 15:09:17 +02:00
installables.cc nix build --json: Include build statistics 2022-11-21 10:49:01 +01:00
installables.hh nix build --json: Include build statistics 2022-11-21 10:49:01 +01:00
legacy.cc Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
legacy.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
local.mk remove 'libnix' 2022-04-29 11:35:50 -06:00
markdown.cc do not render relative links in help pages 2022-08-26 17:10:41 +02:00
markdown.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-cmd.pc.in Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
repl.cc Fix clang warnings 2022-10-13 11:25:49 -07:00