You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using an ancient Mac OS X laptop where the Stack dependency cryptonite requires me to pass a custom flag to Cabal haskell-crypto/cryptonite#21 but I don't know how to pass this flag to stack upgrade. (Note that this laptop is sufficiently old that I cannot just download and use the prebuilt binary for Stack for more modern OS X, but have to build Stack from source.) Without the flag, I cannot do stack upgrade.
How do I hook in the config into stack upgrade?
cryptonite:
support_aesni: false
The text was updated successfully, but these errors were encountered:
hmm I don't think there is support for that but I always build my stack executable from repo clone and another alternative would also be to use stack unpack:
stack unpack stack-0.1.10.0
cd stack-0.1.10.0
stack install --flag cryptonite:-support_aesni
you wouldn't have to use package version to have it always download latest (ala stack upgrade) but currenlty stack would pick up deprecated versions #1391
It wouldn't be too strange to add the build options to upgrade. At once, I like that stack upgrade --help is so simple. Adding all the build options would make it more complicated.
I'm thinking that for this (hopefully) rare case, @luigy's solution is sufficient. So, closing as wontfix.
I am using an ancient Mac OS X laptop where the Stack dependency
cryptonite
requires me to pass a custom flag to Cabal haskell-crypto/cryptonite#21 but I don't know how to pass this flag tostack upgrade
. (Note that this laptop is sufficiently old that I cannot just download and use the prebuilt binary for Stack for more modern OS X, but have to build Stack from source.) Without the flag, I cannot dostack upgrade
.How do I hook in the config into
stack upgrade
?The text was updated successfully, but these errors were encountered: