Skip to content

Matching and complete cabal path examples #9930

@philderbeast

Description

@philderbeast

Could we have matching cabal path examples? At the moment one has /home/haskell/.cabal/etc and the other /home/user/.cabal/etc. The JSON example also includes compiler details that are output with the command but not shown; compiler-flavour, compiler-id and compiler-path.

$ cabal path
cache-home: /home/haskell/.cache/cabal/
remote-repo-cache: /home/haskell/.cache/cabal/packages
logs-dir: /home/haskell/.cache/cabal/logs
store-dir: /home/haskell/.local/state/cabal/store
config-file: /home/haskell/.config/cabal/config
installdir: /home/haskell/.local/bin
...
{
    "cabal-version": "3.13.0.0",
    "compiler": {
        "flavour": "ghc",
        "id": "ghc-9.6.4",
        "path": "/home/user/.ghcup/bin/ghc"
    },
    "cache-home": "/home/user/.cabal",
    "remote-repo-cache": "/home/user/.cabal/packages",
    "logs-dir": "/home/user/.cabal/logs",
    "store-dir": "/home/user/.cabal/store",
    "config-file": "/home/user/.cabal/config",
    "installdir": "/home/user/.cabal/bin"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions