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
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
attrsets.nix init: lib.foldlAttrs 2023-03-11 10:42:00 +01:00
cli.nix
customisation.nix
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
derivations.nix
fetchers.nix
filesystem.nix lib.filesystem.pathType: Improve error for non-existent paths 2023-05-22 14:13:57 +02:00
fixed-points.nix
flake.nix
generators.nix
kernel.nix
licenses.nix Merge pull request #214941 from OPNA2608/init/katawa-shoujo 2023-03-08 11:13:54 +01:00
lists.nix
meta.nix
minver.nix
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
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
types.nix
versions.nix
zip-int-bits.nix