Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
base: 6924bdf2bf8f
Choose a base ref
...
head repository: NixOS/nix
compare: dd98683e65f4
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 2, 2018

  1. search.cc: improve UX for nix search

    As proposed in #1634 the `nix search` command could use some
    improvements. Initially 0413aeb 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.
    Ma27 committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    6b74fda View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2158 from Ma27/improve-search-ux

    search.cc: improve UX for `nix search`
    edolstra committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    dd98683 View commit details
    Browse the repository at this point in the history