nixpkgs-suyu/lib
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
..
systems Merge branch 'ghcjs-cross-without-cc-19.09' into ghcjs-cross-without-cc 2019-11-25 14:11:18 +00:00
tests lib/tests: Temporarily disable submodule path test 2020-01-03 06:02:55 +01:00
asserts.nix
attrsets.nix lib: fix typo in 'zipAttrsWith' documentation 2019-09-11 19:54:36 +02:00
customisation.nix Merge pull request #67809 from Infinisil/propagate-override-args 2019-10-22 14:37:40 +02:00
debug.nix
default.nix lib/modules: Don't pack submodules specially 2020-01-01 01:13:03 +01:00
deprecated.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
fetchers.nix
filesystem.nix
fixed-points.nix lib.converge: optimise 2019-04-17 15:55:57 +01:00
generators.nix treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
kernel.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
licenses.nix licenses: refer to curl using spdx 2019-09-22 20:33:44 +00:00
lists.nix Merge master into staging-next 2019-09-06 22:46:05 +02:00
meta.nix lib: implement setPrio 2018-11-22 08:59:48 +00:00
minver.nix
modules.nix lib/modules: Don't pack submodules specially 2020-01-01 01:13:03 +01:00
options.nix lib/options: fix path in comment 2019-08-26 02:01:49 +02:00
sources.nix lib.cleanSourceWith: Allow name to be set, optional filter, doc 2019-09-03 10:36:57 +02:00
strings-with-deps.nix
strings.nix lib: Add getName to mirror getVersion 2019-11-24 16:24:50 +00:00
trivial.nix lib/trivial: add pipe function 2019-10-21 13:19:16 +02:00
types.nix lib/types: Fix path type check 2020-01-06 22:09:56 +01:00
versions.nix lib/versions: expose splitVersion 2019-09-26 17:42:42 +02:00
zip-int-bits.nix