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/nixpkgs
base: e306ee4a56ee
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 8da81465c19f
Choose a head ref
  • 7 commits
  • 3 files changed
  • 2 contributors

Commits on Dec 12, 2019

  1. Add pkgs.lib.renderOptions

    This adds a new utility to intelligently convert Nix records to
    command line options to reduce boilerplate for simple use cases and to
    also reduce the likelihood of malformed command lines
    Gabriella439 committed Dec 12, 2019
    Copy the full SHA
    183a997 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2019

  1. Rename renderOptions to encodeGNUCommandLine

    ... as suggested by @edolstra
    Gabriella439 committed Dec 14, 2019
    Copy the full SHA
    8c6a05c View commit details
    Browse the repository at this point in the history
  2. Make behavior of encodeGNUCommandLine customizable

    ... based on feedback from @edolstra
    Gabriella439 committed Dec 14, 2019
    Copy the full SHA
    693096d View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2019

  1. Use a more realistic example that exercises all encodings

    ... as suggested by @roberth
    
    This also caught a bug in rendering lists, which this change also fixes
    Gabriella439 committed Dec 15, 2019
    Copy the full SHA
    5edd4dd View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2020

  1. Factor out a toGNUCommandLine utility

    ... as suggested by @roberth
    Gabriella439 committed Jan 5, 2020
    Copy the full SHA
    6d584c2 View commit details
    Browse the repository at this point in the history
  2. Export toGNUCommandLine

    ... as suggested by @roberth
    
    Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
    Gabriella439 and roberth committed Jan 5, 2020
    Copy the full SHA
    a46679f View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Merge pull request #75539 from Gabriel439/gabriel/renderOptions

    Add `pkgs.lib.encodeGNUCommandLine`
    roberth committed Jan 14, 2020
    Copy the full SHA
    8da8146 View commit details
    Browse the repository at this point in the history