cabal-helper: don't install Cabal into the user prefix
This commit is contained in:
parent
ca35e99254
commit
1bc9706fe6
@ -265,6 +265,7 @@ installCabal ver = do
|
||||
callProcessStderr (Just "/") "cabal" [ "--package-db=clear"
|
||||
, "--package-db=global"
|
||||
, "--package-db=" ++ db
|
||||
, "--prefix=" ++ db </> "prefix"
|
||||
, "-j1"
|
||||
, "install", "Cabal-"++showVersion ver
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user