Смена кабала - PullRequest
       7

Смена кабала

0 голосов
/ 25 октября 2018

В Windows cabal использует UNC-путь в качестве домашней папки:

\\EXAMPLE.EXAMPLE.COM\UserData\username\RF\AppData\Roaming\cabal\config

Как я могу явно указать его в какой-либо папке на диске C: \?

1 Ответ

0 голосов
/ 25 октября 2018

Выдержка из cabal --help:

Global flags:
 -h --help                         Show this help text
 -V --version                      Print version information
    --numeric-version              Print just the version number
------------------------ LOOK HERE ------------------------
    --config-file=FILE             Set an alternate location for the config
                                   file
------------------------ LOOK HERE ------------------------
    --sandbox-config-file=FILE     Set an alternate location for the sandbox
                                   config file (default:
                                   './cabal.sandbox.config')
    --default-user-config=FILE     Set a location for a cabal.config file for
                                   projects without their own cabal.config
                                   freeze file.
    --require-sandbox              Enable requiring the presence of a sandbox
                                   for sandbox-aware commands
    --no-require-sandbox           Disable requiring the presence of a sandbox
                                   for sandbox-aware commands
    --ignore-sandbox               Ignore any existing sandbox
    --ignore-expiry                Ignore expiry dates on signed metadata (use
                                   only in exceptional circumstances)
    --http-transport=HttpTransport Set a transport for http(s) requests.
                                   Accepts 'curl', 'wget', 'powershell', and
                                   'plain-http'. (default: 'curl')
    --enable-nix                   Enable Nix integration: run commands through
                                   nix-shell if a 'shell.nix' file exists
    --disable-nix                  Disable Nix integration: run commands
                                   through nix-shell if a 'shell.nix' file
                                   exists
...