sequenceTools icon indicating copy to clipboard operation
sequenceTools copied to clipboard

failed to build in Stackage Nightly

Open juhp opened this issue 1 year ago • 2 comments

       [2 of 3] Compiling SequenceTools.Utils                     
       /home/curators/work/unpack-dir/unpacked/sequenceTools-1.5.3.1-54e9f0959a741bf603bcc485603f256e26a21f561f025ac7d572cd6a858bcc84/src/SequenceTools/Utils.hs:46:32: error: [GHC-83865]
           • Couldn't match type ‘Int’ with ‘(Int, Int)’       
             Expected: Maybe (Int, Int) -> GenoEntry                                                                                
               Actual: Maybe Int -> GenoEntry                     
           • In the first argument of ‘map’, namely               
               ‘(dosageToEigenstratGeno diploidizeCall)’                                                                            
             In the second argument of ‘(.)’, namely                                                                                
               ‘map (dosageToEigenstratGeno diploidizeCall)’                                                                        
             In the first argument of ‘($)’, namely                                                                                 
               ‘fromList . map (dosageToEigenstratGeno diploidizeCall)’                                           
          |                                                       
       46 |         geno = fromList . map (dosageToEigenstratGeno diploidizeCall) $ calls                                           
          |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

juhp avatar Jan 28 '25 11:01 juhp

damn, you guys are fast. There was literally only 1 or 2 days or so where this bug could have occurred, as I have updated a dependent library earlier. It should be resolved with the latest hackage commit.

stschiff avatar Jan 31 '25 11:01 stschiff

Thanks - re-enabled the package in stackage; think this issue can be closed.

alaendle avatar Mar 23 '25 16:03 alaendle