在Windows上,阴谋集团使用UNC路径作为主文件夹:
\\EXAMPLE.EXAMPLE.COM\UserData\username\RF\AppData\Roaming\cabal\config
如何将其明确设置为C:\驱动器上的某个文件夹?
答案 0 :(得分:2)
摘录自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