Skip to content

Use predictable /tmp names for `ghcup run`

Currently we just create temp dirs like /tmp/ghcup-XXXX, put the symlinks there and add that to PATH before running the requested command. This may clutter /tmp when ghcup is used as e.g. a wrapper script for ghc.

A predictable name would be something like /tmp/ghcup-ghc-8.10.7_hls-1.6.0.0_cabal-3.6.2.0. We need to make sure to resolve tags (like latest) before creating such path.

https://github.com/haskell/vscode-haskell/issues/540

Edited by Julian Ospald
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information