What's the correct way to upgrade libraries in a stack project?

In my project, I have both a stack.yaml and cabal.config. The former only 
contains the Haskell version:

# Specifies the GHC version and set of packages available (e.g., lts-3.5, 
nightly-2015-09-21, ghc-7.10.2)
resolver: lts-8.13

However, the cabal.config contains a bunch of libraries' versions:

$head cabal.config 
-- Stackage snapshot from: http://www.stackage.org/snapshot/lts-8.12
-- Please place this file next to your .cabal file as cabal.config
-- To only use tested packages, uncomment the following line:
-- remote-repo: stackage-lts-8.12:http://www.stackage.org/lts-8.12
constraints: abstract-deque ==0.3,
             abstract-par ==0.3.3,
             AC-Vector ==2.3.2,
             accelerate ==0.15.1.0,
             accuerr ==0.2.0.2,
             ace ==0.6,

If I wanted to upgrade a library in my project, how would I do that? 

Thanks,
Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-stack+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-stack@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/9fa4682d-3c55-4cc5-a04f-7994d5786525%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to