Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
ea51eaad
Commit
ea51eaad
authored
Jul 24, 2016
by
kaiha
Browse files
Use `add-source` instead of linking cabal.sandbox.config
As suggested by mpickering
parent
37240234
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.cabal.sh
View file @
ea51eaad
...
...
@@ -61,11 +61,7 @@ else
# Initialize sandbox if necessary
if
!
(
"
$CABAL
"
sandbox hc-pkg list
>
/dev/null 2>&1
)
;
then
"
$CABAL
"
sandbox init
(
cd
../libraries/Cabal/Cabal
ln
-s
"
$absoluteRoot
/cabal.sandbox.config"
cabal.sandbox.config
"
$CABAL
"
install
rm
cabal.sandbox.config
)
"
$CABAL
"
sandbox add-source ../libraries/Cabal/Cabal
"
$CABAL
"
install
\
--dependencies-only
\
--disable-library-profiling
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment