diff options
| author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-04-05 16:47:30 +0200 |
|---|---|---|
| committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-05-22 14:13:57 +0200 |
| commit | bb6eab0bdbe060cb578fc9be5925a76a1635424f (patch) | |
| tree | 4cf21d6c37591521c4ae509f5640aa1583b9fc0e /pkgs/development/python-modules/python-mapnik | |
| parent | 5346636c20ff57410b25a6a8897d4e95f75e040c (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
