stack install to get the latest executable from hackage?

17 צפיות
מעבר להודעה הראשונה שלא נקראה

Rob Stewart

לא נקראה,
18 בנוב׳ 2016, 7:02:5318.11.2016
עד haskell-stack
Hi,

I'd like to update my cabal-install to 1.24.1.0 . Here's my setup:

$ cabal --version
cabal-install version 1.22.9.0

$ which cabal
/home/rob/.local/bin/cabal

$ stack install cabal-install
..
Copied executables to /home/rob/.local/bin:
- cabal

But that's not 1.24.1.0, it's still 1.22.9.0. What stack options should I be using to say: "obtain the latest package from hackage, and build and install the executable from that latest version"?

--
Rob

Michael Snoyman

לא נקראה,
18 בנוב׳ 2016, 7:19:3718.11.2016
עד Rob Stewart,haskell-stack

stack install cabal-install-1.24.1.0

Or

stack --resolver nightly --install-ghc install cabal-install


--
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-stac...@googlegroups.com.
To post to this group, send email to haskel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/268790f5-ded3-41b2-a974-97269ea0f426%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Snoyman

לא נקראה,
18 בנוב׳ 2016, 7:20:1618.11.2016
עד Rob Stewart,haskell-stack

Actually, you probably want to stick to the second one to avoid dependency problems.

Rob Stewart

לא נקראה,
18 בנוב׳ 2016, 7:49:2018.11.2016
עד haskell-stack,mic...@snoyman.com
Yes the second one worked, thanks.

--
Rob
השב לכולם
השב למחבר
העבר לנמענים
0 הודעות חדשות