Silvan Mosberger d7a109b59f
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.
2020-01-06 22:09:56 +01:00
..
2019-08-28 11:07:32 +00:00
2019-04-17 15:55:57 +01:00
2019-08-28 11:07:32 +00:00
2019-09-06 22:46:05 +02:00
2018-11-22 08:59:48 +00:00
2018-08-30 08:09:54 -04:00
2019-08-26 02:01:49 +02:00
2019-10-21 13:19:16 +02:00
2020-01-06 22:09:56 +01:00
2019-09-26 17:42:42 +02:00