nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: fix typo: `readDir` -> `dirOf`

The example code here uses `dirOf`, not `readDir`. I assume this was
just a silly typo.

+1 -1
+1 -1
lib/path/default.nix
··· 382 382 (splitRoot p).root 383 383 (splitRoot p).subpath 384 384 385 - - Trying to get the parent directory of `root` using [`readDir`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-readDir) returns `root` itself: 385 + - Trying to get the parent directory of `root` using [`dirOf`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-dirOf) returns `root` itself: 386 386 387 387 dirOf (splitRoot p).root == (splitRoot p).root 388 388