1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/src
Eelco Dolstra 49436bdbb7
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.
2019-05-29 22:22:28 +02:00
..
build-remote canBuildLocally: check for features 2019-03-06 05:03:25 +00:00
cpptoml bump cpptoml to v0.1.1 2019-05-29 17:01:39 +08:00
libexpr Remove makeFlakeValue() 2019-05-29 15:44:48 +02:00
libmain pkg-config files: Use c++17 2019-03-14 14:11:12 +01:00
libstore Get last commit time of github flakes 2019-05-29 10:10:40 +02:00
libutil Get last commit time of github flakes 2019-05-29 10:10:40 +02:00
nix nix flake info --json: List the "provides" 2019-05-29 22:22:28 +02:00
nix-build Merge remote-tracking branch 'origin/master' into flakes 2019-05-08 14:30:27 +02:00
nix-channel Refactor downloadCached() interface 2019-05-22 23:36:29 +02:00
nix-collect-garbage Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
nix-copy-closure Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
nix-daemon findRoots(): Don't censor for trusted users 2019-03-14 13:53:34 +01:00
nix-env Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
nix-instantiate Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
nix-prefetch-url nix-prefetch-url: Stop progress bar before printing results 2018-11-09 10:34:12 +01:00
nix-store nix-store --gc --print-roots: Sort output 2019-03-14 13:59:10 +01:00
nlohmann nlohmann-json: 3.5.0 -> 3.6.1 2019-04-19 14:53:58 +02:00
resolve-system-dependencies Remove mentions of libformat, it no longer exists 2019-01-05 14:31:29 -05:00