All tools/Stack

Stack

stack

Stack is a program for developing Haskell projects, aimed at new and experienced users and supporting Linux, macOS and Windows.

Detected by stack | macOS, Linux, Windows |haskellstack.org

Sync rules

What travels, what stays, what never leaves
Stack in your home directory Every rule on this page, by file
save-hackage-creds: false
allow-different-user: false
local-bin-path: /Users/octocat/.local/binmachine-local
local-programs-path: /Users/octocat/.stack/programsmachine-local
extra-include-dirs:
- /opt/homebrew/include
extra-lib-dirs:
- /opt/homebrew/lib
extra-path:machine-local
- /opt/homebrew/bin

Each machine keeps its own copy of these.

local-bin-path: /Users/octocat/.local/bin
local-programs-path: /Users/octocat/.stack/programs
extra-include-dirs:machine-local
- /opt/homebrew/include
extra-lib-dirs:machine-local
- /opt/homebrew/lib
extra-path:
- /opt/homebrew/bin

Each machine keeps its own copy of these.

· upload/credentials.json Never synced
system-ghc: false
save-hackage-creds: false
local-bin-path: C:/Users/octocat/AppData/Roaming/local/binmachine-local
local-programs-path: C:/Users/octocat/AppData/Local/Programs/stackmachine-local
extra-include-dirs:
- C:/msys64/mingw64/include
extra-lib-dirs:
- C:/msys64/mingw64/lib
extra-path:machine-local
- C:/msys64/mingw64/bin

Each machine keeps its own copy of these.

local-bin-path: C:/Users/octocat/AppData/Roaming/local/bin
local-programs-path: C:/Users/octocat/AppData/Local/Programs/stack
extra-include-dirs:machine-local
- C:/msys64/mingw64/include
extra-lib-dirs:machine-local
- C:/msys64/mingw64/lib
extra-path:
- C:/msys64/mingw64/bin

Each machine keeps its own copy of these.

· upload/credentials.json Never synced

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/stack. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these keeps all credential files out. None of them splits local-bin-path and local-programs-path for you — that part is Otty’s own sync, or a template you write by hand.