nixpkgs/lib
Silvan Mosberger d064d972f0 lib.filesystem.pathType: Improve error for non-existent paths
Previously it would fail with

  error: attribute 'nonexistent' missing

         at nixpkgs/lib/filesystem.nix:29:10:

             28|     if dirOf path == path then "directory"
             29|     else (readDir (dirOf path)).${baseNameOf path};
               |          ^
             30|
2023-05-22 14:13:57 +02:00
..
path Merge pull request #208887 from tweag/lib.path.append 2023-02-07 17:27:37 +01:00
systems Merge master into haskell-updates 2023-03-10 00:14:11 +00:00
tests lib.filesystem.pathType: Improve error for non-existent paths 2023-05-22 14:13:57 +02:00
ascii-table.nix strings: add escapeQuery for url encoding 2023-03-03 20:48:55 +01:00
asserts.nix doc: auto-generate asserts and attrset library docs 2022-12-08 22:58:22 +01:00
attrsets.nix init: lib.foldlAttrs 2023-03-11 10:42:00 +01:00
cli.nix
customisation.nix Merge pull request #211685 from Artturin/splicingstuff1-split 2023-02-03 12:49:08 +02:00
debug.nix lib: remove deprecated functions 2023-03-08 03:57:38 +01:00
default.nix lib.sources.pathType and co.: Move to lib.filesystem 2023-04-05 17:18:10 +02:00
deprecated.nix lib.closePropagation: Remove the quadratic behavior in lib.closePropagation 2022-10-07 18:03:42 +02:00
derivations.nix lib: fix typos 2022-12-17 18:59:29 -05:00
fetchers.nix
filesystem.nix lib.filesystem.pathType: Improve error for non-existent paths 2023-05-22 14:13:57 +02:00
fixed-points.nix lib: make extender available on self-references 2023-01-15 11:34:05 -08:00
flake.nix Fix import path. 2021-08-14 14:46:00 -05:00
generators.nix stdenv/check-meta: do deep type checks 2023-01-01 14:10:42 +01:00
kernel.nix
licenses.nix Merge pull request #214941 from OPNA2608/init/katawa-shoujo 2023-03-08 11:13:54 +01:00
lists.nix Merge pull request #206611 from h7x4/lib-lists-add-repeat 2023-02-07 06:16:09 +01:00
meta.nix Update lib/meta.nix 2023-01-27 11:16:29 +00:00
minver.nix boostrap fetchurl: Add SRI support 2022-08-24 09:55:45 +02:00
modules.nix lib/modules: Allow an "anonymous" module with key in disabledModules 2023-03-01 15:03:44 +01:00
options.nix lib/options: fix mkPackageOption docs 2023-03-05 01:21:46 +01:00
source-types.nix lib.sourceTypes: simplify implementation 2022-05-30 16:27:34 +08:00
sources.nix lib.sources.pathType and co.: Move to lib.filesystem 2023-04-05 17:18:10 +02:00
strings-with-deps.nix
strings.nix lib/strings: hide asciiTable 2023-03-04 13:20:49 +01:00
trivial.nix lib/trival: Bump oldestSupportedRelease to 2211 2023-01-01 14:57:25 +01:00
types.nix lib.strings: isSimpleCoercibleString -> isStringLike 2022-12-31 01:33:46 +01:00
versions.nix lib/versions: add pad 2022-12-21 12:58:21 +01:00
zip-int-bits.nix lib/zip-int-bits: fix typo: bitXOR -> bitXor 2022-06-09 20:04:37 +03:00