Skip to content

Commit db249c9

Browse files
committed
docs(extending): document extraModulesPath usage
1 parent f3f3846 commit db249c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/extending.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ lang = "en_US.UTF-8"
3131
From a nix flake you would import it like
3232

3333
```nix
34-
imports = ["${devshell}/extra/locale.nix"];
34+
devshell.mkShell ({ extraModulesPath, ... }: {
35+
imports = ["${extraModulesPath}/locale.nix"];
36+
})
3537
```
3638

3739
## Building your own modules

0 commit comments

Comments
 (0)