Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
base: 0f01a77f8728
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
compare: 86bbfc0f4329
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 8, 2020

  1. lib/types: Fix path type check

    Previously when this function was called without a value coercible to a
    string it would throw an error instead of returning false. Now it does.
    
    As a result this now allows the use of a type like `either path attrs`
    without it erroring out when a definition is an attribute set.
    
    The warning about there not being a isPath primop was removed because
    this is not the case anymore, there is builtins.isPath. But also there
    always was `builtins.typeOf x == "path"` that could've been used
    instead. However the path type now stands for more than just path types,
    but absolute paths in general.
    
    (cherry picked from commit d7a109b)
    
    See NixOS/nixpkgs#76861 (comment)
    for why this is cherry-picked
    infinisil committed Jan 8, 2020
    Copy the full SHA
    86bbfc0 View commit details
    Browse the repository at this point in the history