Skip to content
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

haskoin-core fails to build #7035

Closed
mihaimaruseac opened this issue Jun 29, 2023 · 1 comment
Closed

haskoin-core fails to build #7035

mihaimaruseac opened this issue Jun 29, 2023 · 1 comment

Comments

@mihaimaruseac
Copy link
Contributor

   Configuring haskoin-core-0.22.0...
   Preprocessing library for haskoin-core-0.22.0..
   Building library for haskoin-core-0.22.0..
   [ 1 of 46] Compiling Haskoin.Address.Bech32
   [ 2 of 46] Compiling Haskoin.Script.Common
   [ 3 of 46] Compiling Haskoin.Util
   [ 4 of 46] Compiling Haskoin.Keys.Mnemonic
   [ 5 of 46] Compiling Haskoin.Keys.Extended.Internal
   [ 6 of 46] Compiling Haskoin.Crypto.Hash
   [ 7 of 46] Compiling Haskoin.Network.Common
   [ 8 of 46] Compiling Haskoin.Transaction.Common
   [ 9 of 46] Compiling Haskoin.Crypto.Signature
   [10 of 46] Compiling Haskoin.Crypto
   [11 of 46] Compiling Haskoin.Block.Common
   [12 of 46] Compiling Haskoin.Data
   [13 of 46] Compiling Haskoin.Script.SigHash
   [14 of 46] Compiling Haskoin.Block.Merkle
   [15 of 46] Compiling Haskoin.Address.CashAddr
   [16 of 46] Compiling Haskoin.Address.Base58
   [17 of 46] Compiling Haskoin.Keys.Common
   [18 of 46] Compiling Haskoin.Script.Standard
   [19 of 46] Compiling Haskoin.Transaction.Taproot
   [20 of 46] Compiling Haskoin.Transaction.Genesis
   [21 of 46] Compiling Haskoin.Block.Headers
   [22 of 46] Compiling Haskoin.Block
   [23 of 46] Compiling Haskoin.Script
   [24 of 46] Compiling Haskoin.Transaction.Segwit
   [25 of 46] Compiling Haskoin.Network.Bloom
   [26 of 46] Compiling Haskoin.Network.Message
   [27 of 46] Compiling Haskoin.Network
   [28 of 46] Compiling Haskoin.Address
   [29 of 46] Compiling Haskoin.Transaction.Builder.Sign
   [30 of 46] Compiling Haskoin.Transaction.Builder
    
   /var/stackage/work/unpack-dir/unpacked/haskoin-core-0.22.0-e5504bd8f6c2fe3f9da792a6423f7cd79eb988f0db806f1cfcb824770ad56b7b/src/Haskoin/Transaction/Builder.hs:498:17: error: [GHC-39999]
       • No instance for ‘GHC.Base.Alternative (Either String)’
           arising from a use of ‘<|>’
       • In the second argument of ‘($)’, namely
           ‘(verifyLegacyInput so0 <$> decodeInputBS net inp)
              <|>
                (nestedScriptOutput
                   >>= \ so -> verifyNestedInput so0 so <$> wp so)’
         In the expression:
           fromRight False
             $ (verifyLegacyInput so0 <$> decodeInputBS net inp)
                 <|>
                   (nestedScriptOutput >>= \ so -> verifyNestedInput so0 so <$> wp so)
         In an equation for ‘verifyStdInput’:
             verifyStdInput net tx i so0 val
               | isSegwit so0
               = fromRight False
                   $ (inp == mempty &&) . verifySegwitInput so0 <$> wp so
mihaimaruseac added a commit that referenced this issue Jun 29, 2023
Signed-off-by: Mihai Maruseac <mihai.maruseac@gmail.com>
@alaendle
Copy link
Member

alaendle commented Feb 4, 2024

I think, no need to track this any longer here - the package is disabled due to bound issues and as soon as a new compatible releases (which hopefully compile) appear the will get included semi-automatically via commenter.

As a reminder for you, @XenoG, some of your maintained packages are no longer compatible to/included in the latest stackage nightly.

@alaendle alaendle closed this as completed Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants