We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13bb210 commit f90b787Copy full SHA for f90b787
cached-nix-shell.1.md
@@ -48,6 +48,8 @@ Note that updating the value of _var_ would invalidate the cache.
48
When `--expr` or `--packages` option is given,
49
the cache is evaluated inside a separate empty directory,
50
preventing access to relative paths from within nix expressions.
51
+Contrariwise, when a path to a shebang script or nix file is given,
52
+ the cache is evaluated in the directory containing that script or file.
53
This allows multiple `cached-nix-shell` invocations
54
from different directories to reuse the same cache entry.
55
0 commit comments