|
7 | 7 | # IMPORTANT: NAMING CONVENTIONS |
8 | 8 | # ----------------------------- |
9 | 9 | # This library uses SUBDIRECTORY NAMES, not full paths: |
10 | | -# - rootDir = ".stackpanel" (the stackpanel home directory) |
11 | | -# - stateDir = "state" (subdirectory name, NOT ".stackpanel/state") |
12 | | -# - genDir = "gen" (subdirectory name, NOT ".stackpanel/gen") |
| 10 | +# - rootDir = ".stack" (the stackpanel home directory) |
| 11 | +# - stateDir = "state" (subdirectory name, NOT ".stack/state") |
| 12 | +# - genDir = "gen" (subdirectory name, NOT ".stack/gen") |
13 | 13 | # |
14 | 14 | # Full paths are computed as: $root/${rootDir}/${stateDir} |
15 | | -# For example: /path/to/project/.stackpanel/state |
| 15 | +# For example: /path/to/project/.stack/state |
16 | 16 | # |
17 | | -# If you're getting duplicate path segments like ".stackpanel/.stackpanel/state", |
| 17 | +# If you're getting duplicate path segments like ".stack/.stack/state", |
18 | 18 | # you're passing a full path where a subdirectory name is expected! |
19 | 19 | # |
20 | 20 | # Features: |
|
26 | 26 | # Usage in Nix modules: |
27 | 27 | # let pathsLib = import ./paths.nix { inherit lib; }; |
28 | 28 | # in pathsLib.mkShellPathUtils { |
29 | | -# rootDir = ".stackpanel"; # The home directory |
| 29 | +# rootDir = ".stack"; # The home directory |
30 | 30 | # stateDir = "state"; # SUBDIRECTORY NAME, not full path! |
31 | 31 | # genDir = "gen"; # SUBDIRECTORY NAME, not full path! |
32 | 32 | # } |
|
38 | 38 | {lib}: let |
39 | 39 | # Default configuration (can be overridden) |
40 | 40 | defaults = { |
41 | | - rootDir = ".stackpanel"; |
| 41 | + rootDir = ".stack"; |
42 | 42 | stateDir = "state"; |
43 | 43 | genDir = "gen"; |
44 | 44 | }; |
|
0 commit comments