aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake-show.md
blob: 1a42c44a032847fc07b1ee92f118a763da0126e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
R""(

# Examples

* Show the output attributes provided by the `patchelf` flake:

  ```console
  github:NixOS/patchelf/f34751b88bd07d7f44f5cd3200fb4122bf916c7e
  ├───checks
  │   ├───aarch64-linux
  │   │   └───build: derivation 'patchelf-0.12.20201207.f34751b'
  │   ├───i686-linux
  │   │   └───build: derivation 'patchelf-0.12.20201207.f34751b'
  │   └───x86_64-linux
  │       └───build: derivation 'patchelf-0.12.20201207.f34751b'
  ├───defaultPackage
  │   ├───aarch64-linux: package 'patchelf-0.12.20201207.f34751b'
  │   ├───i686-linux: package 'patchelf-0.12.20201207.f34751b'
  │   └───x86_64-linux: package 'patchelf-0.12.20201207.f34751b'
  ├───hydraJobs
  │   ├───build
  │   │   ├───aarch64-linux: derivation 'patchelf-0.12.20201207.f34751b'
  │   │   ├───i686-linux: derivation 'patchelf-0.12.20201207.f34751b'
  │   │   └───x86_64-linux: derivation 'patchelf-0.12.20201207.f34751b'
  │   ├───coverage: derivation 'patchelf-coverage-0.12.20201207.f34751b'
  │   ├───release: derivation 'patchelf-0.12.20201207.f34751b'
  │   └───tarball: derivation 'patchelf-tarball-0.12.20201207.f34751b'
  └───overlay: Nixpkgs overlay
  ```

# Description

This command shows the output attributes provided by the flake
specified by flake reference *flake-url*. These are the top-level
attributes in the `outputs` of the flake, as well as lower-level
attributes for some standard outputs (e.g. `packages` or `checks`).

)""