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: f73b762aacbc
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: ed5a07c0ef18
Choose a head ref
  • 6 commits
  • 2 files changed
  • 1 contributor

Commits on Sep 7, 2020

  1. lib/types: Allow types to emit a deprecation warning

    Previously the only way to deprecate a type was using
    
      theType = lib.warn "deprecated" (mkOptionType ...)
    
    This caused the warning to be emitted when the type was evaluated, but
    the error didn't include which option actually used that type.
    
    With this commit, types can specify a deprecationMessage, which when
    non-null, is printed along with the option that uses the type
    infinisil committed Sep 7, 2020
    Copy the full SHA
    1d46562 View commit details
    Browse the repository at this point in the history
  2. lib/types: Remove types.list, it's been deprecated long enough

    Has been deprecated since fd803fc
    (2013-08-22)
    infinisil committed Sep 7, 2020
    Copy the full SHA
    14095f8 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    2bed3b2 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    3b7aca4 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    a582f6a View commit details
    Browse the repository at this point in the history
  6. Merge pull request #97114 from Infinisil/type-deprecation

    Better type deprecation messages
    infinisil committed Sep 7, 2020
    Copy the full SHA
    ed5a07c View commit details
    Browse the repository at this point in the history