-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backpack #359
Backpack #359
Conversation
Unsuccessful xenial
Unfortunately you're hitting two bugs in the released cabal versions. The path you're installing the package into is longer than What has been accepted already is a workaround that's in place in never versions of cabal haskell/cabal#4977 but no released binaries have this yet, so it has to be built from source. Cabal-install does support a global flag Finally this has become a bigger issue now with backpack, so I'm backporting parts of my experimental I/O manager back into |
On the short term, lobbying for a new cabal binary may be the easiest way. As a side note, if you don't want to have to manage your This is how It would just require these two lines
that will automatically pull in the latest compatible |
Thanks @Mistuke for the update. Will the lobying work ;-). Do you think that it makes sense to merge? |
I think it would work. They're usually quite responsive to this. And I
think the change effects enough people to warrant a release! `new-*` isn't
very usable without it on Windows.
But try `--store-dir` too. I assume it had to work otherwise it wouldn't
have been merged.
…On Tue, Feb 6, 2018, 10:20 Piyush P Kurur ***@***.***> wrote:
Thanks @Mistuke <https://github.com/mistuke> for the update. Will the
lobying work ;-). Do you think that it makes sense to merge?
Windows build will be broken till the appropriate cabal is released.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#359 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABH3Kdekx7RURUsFx4W_lakhza295J0eks5tSCeFgaJpZM4R6nBY>
.
|
Is store-dir in a released version ? The cabal-2.0.0.1 that I have (linux version) does not seem to have it. |
The feature says it was milestoned for 2.0.0.1 so it should be. Did you use
it as a global flag? And not a local? E.g. Global flags go before the
action so `cabal --store-dir=/e/cabal-store new-test` for instance. It
won't recognize it after the action.
…On Tue, Feb 6, 2018, 10:51 Piyush P Kurur ***@***.***> wrote:
Is store-dir in a released version ? The cabal-2.0.0.1 that I have (linux
version) does not seem to have it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#359 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABH3KT0KoZFQZ5Yj4hUfNToXslRwcSd8ks5tSC6XgaJpZM4R6nBY>
.
|
Okey it is in 2.0.0.1 (tested on linux) but unfortunately cabal on appveyor via choclatey is 2.0.0.0. Is there a way to change this ? |
Ah the cabal binaries always lag a bit behind the source releases and I
hadn't noticed the 2.0.0.1 upload. I will upload the new package tonight. I
don't have my ssh keys with me atm.
…On Tue, Feb 6, 2018, 11:08 Piyush P Kurur ***@***.***> wrote:
Okey it is in 2.0.0.1 (tested on linux) but unfortunately cabal on
appveyor via choclatey is 2.0.0.0. Is there a way to change this ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#359 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABH3KatxmvyEbGtyrb_r2nnBhO2Onmw8ks5tSDKXgaJpZM4R6nBY>
.
|
Thanks. |
I've uploaded the new cabal, should take around 30 mins for it to pass automatic validation https://chocolatey.org/packages/cabal/2.0.0.1 once it does restarting the appveyor build should pull in the latest one. |
@Mistuke everything is working yaaaahhoooo!! thanks. |
We can merge this provided appveyor builds workout. @Mistuke, Can you help?
Currently I am in the process of moving from
stack
tocabal new-build
. Part of the reason is also to try out backpack but currently I am only trying to get the build system up. The idea is the following.cabal new-build
and othernew-*
commandscabal.package.freeze
files to confirm buildability w.r.t stackYou can see how this is handled in Unix by looking at the travis script. It makes use of the
./scripts/stack-freeze.sh
command. Currently this is not ported to windows as we need to remove raaz from the freeze file for it to work which is done using sed. Instead on appveyor, there is aappveyor/cabal.project.freeze
that is used (this is generated locally and commited).The problem I am having is that ansiterminal package is not building. Can you check this out?