nixpkgs/lib/tests
Silvan Mosberger bb6eab0bdb lib.filesystem.pathType: Fix for filesystem root argument
Previously this function couldn't handle / being passed, it would throw
an error:

error: attribute '' missing

       at nixpkgs/lib/filesystem.nix:24:20:

           23|   */
           24|   pathType = path: (readDir (dirOf path)).${baseNameOf path};
             |                    ^
           25|

Consequently this also fixes the
lib.filesystem.{pathIsDirectory,pathIsRegularFile} functions.
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: Fix for filesystem root argument 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
systems.nix lib.platforms.s390x: init 2023-01-19 17:43:50 +00:00
teams.nix