nixpkgs/lib/tests
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
..
modules lib/modules: Allow an "anonymous" module with key in disabledModules 2023-03-01 15:03:44 +01:00
check-eval.nix
filesystem.sh lib.filesystem.pathType: Improve error for non-existent paths 2023-05-22 14:13:57 +02:00
maintainer-module.nix maintainers: make email optional 2023-01-27 18:04:20 +01:00
maintainers.nix maintainers: clarify what fields are required 2023-01-27 18:05:28 +01:00
misc.nix init: lib.foldlAttrs 2023-03-11 10:42:00 +01:00
modules.sh lib/modules: Allow an "anonymous" module with key in disabledModules 2023-03-01 15:03:44 +01:00
release.nix lib.filesystem.pathType and co.: Add tests 2023-05-22 14:13:45 +02:00
sources.sh lib/tests: Set hardening pragmas 2021-11-26 10:55:14 +13:00
systems.nix lib.platforms.s390x: init 2023-01-19 17:43:50 +00:00
teams.nix maintainer teams: check them in lib tests 2022-06-20 22:20:26 +02:00