lix/src
Maximilian Bosch 6b74fdac27
search.cc: improve UX for nix search
As proposed in #1634 the `nix search` command could use some
improvements. Initially 0413aeb35d added
some basic sorting behavior using `std::map`, a next step would be an
improvement of the output.

This patch includes the following changes:

* Use `$PAGER` for outputs with `RunPager` from `shared.hh`:
  The same behavior is defined for `nix-env --query`, furthermore it
  makes searching huge results way easier.

* Simplified result blocks:
  The new output is heavily inspired by the output from `nox`, the first
  line shows the attribute path and the derivaiton name
  (`attribute path (derivation name)`) and the description in the second
  line.
2018-07-02 11:05:59 +02:00
..
build-remote Merge branch 'aarch64-armv7' of git://github.com/lheckemann/nix 2018-04-23 08:48:22 -04:00
libexpr In restricted eval mode, allow access to the closure of store paths 2018-05-09 15:45:05 +02:00
libmain Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00
libstore Don't set a CA assertion for paths with references 2018-05-03 14:49:56 +02:00
libutil Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00
linenoise linenoise.cpp: allow completions from empty input 2017-12-19 12:52:10 -06:00
nix search.cc: improve UX for nix search 2018-07-02 11:05:59 +02:00
nix-build nix-shell: Only download requested outputs 2018-05-07 14:58:25 +02:00
nix-channel Fix library ordering in Makefiles 2018-04-21 21:10:52 -07:00
nix-collect-garbage Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-copy-closure Fix library ordering in Makefiles 2018-04-21 21:10:52 -07:00
nix-daemon nix-daemon: Exit successfully when interrupted. 2018-04-09 08:05:54 -04:00
nix-env Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00
nix-instantiate nix-shell: allow symlinks to .drvs 2018-03-16 22:15:24 +00:00
nix-prefetch-url Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-store Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00
nlohmann nlohmann-json: 2.1.1 -> 3.0.1 2018-01-22 12:19:50 -06:00
resolve-system-dependencies Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00