File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,3 +6,7 @@ vscode-extension/dist/
66vscode-extension /result
77dist-newstyle /
88cabal.project.local
9+
10+ # Stack-related
11+ .stack-work
12+ * .yaml.lock
Original file line number Diff line number Diff line change @@ -149,12 +149,28 @@ built-in version in memory.
149149
150150# Building from source
151151
152- To build ` hdb ` :
152+ ## Build ` hdb ` (using Cabal)
153+
153154```
154155cabal build -w /path/to/ghc-9.14 exe:hdb
155156```
156157
157- To build the VSCode extension
158+ ## Build and install ` hdb ` (using Stack)
159+
160+ On non-Windows operating systems:
161+
162+ ```
163+ stack install haskell-debugger
164+ ```
165+
166+ On Windows:
167+
168+ ```
169+ stack -w stack-windows.yaml install haskell-debugger
170+ ```
171+
172+ ## Build VS Code extension (using Nix)
173+
158174```
159175cd vscode-extension
160176nix-build
Original file line number Diff line number Diff line change 1+ # A bespoke snapshot for GHC 9.14.1. There is no Stackage snapshot for
2+ # GHC 9.14.1.
3+ #
4+ # The relevant package versions in this snapshot are known, by testing, to work
5+ # together, not withstanding the upper bounds on dependencies specified in their
6+ # Cabal files.
7+ snapshot : nightly-2026-01-10 # GHC 9.12.3.
8+ compiler : ghc-9.14.1
9+
10+ # Not in nightly-2026-01-10:
11+ packages :
12+ - dap-0.3.1.0@sha256:2e3f360463bba05cb062e764ae0dd958dba0ad67e83791e0d6d5adb3d259539a,2324
13+ - implicit-hie-0.1.4.0@sha256:42a8bdc36713d98711c59b62fac238d81f6ce3ef7912752f38d456182260a5a3,3122
Original file line number Diff line number Diff line change 1+ # Stack project-level configuration for Windows only.
2+
3+ snapshot : snapshot.yaml
4+
5+ packages :
6+ - .
7+ - haskell-debugger-view
Original file line number Diff line number Diff line change 1+ # Stack project-level configuration for non-Windows operating systems only.
2+
3+ snapshot : snapshot.yaml
4+
5+ packages :
6+ - .
7+ - haskell-debugger-view
8+
9+ # Applicable only to non-Windows operating systems:
10+ configure-options :
11+ haskell-debugger :
12+ - --enable-executable-dynamic
You can’t perform that action at this time.
0 commit comments