Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using custom ghcjs fork with stack

I'm testing some of my own patches to ghcjs, and I was wondering how I can package it up to use with stack's fields, which seem to expect something like:

setup-info:
  ghcjs:
    source:
      ghcjs-0.2.1.9007019_ghc-8.0.1:
           url: http://ghcjs.tolysz.org/ghc-8.0-2017-02-05-lts-7.19-9007019.tar.gz
           sha1: d2cfc25f9cda32a25a87d9af68891b2186ee52f9

However, I'm unsure what format the .tar.gz file is expected to be in? I tried simply compressing the repository in a .tar.gz file and it doesn't seem to recognize it. What is actually expected to be in here?

Thanks in advance!

like image 840
Justin L. Avatar asked Apr 09 '26 00:04

Justin L.


1 Answers

It expects the output of "cabal sdist" / "stack sdist" run after building and booting your copy of ghcjs

like image 151
mgsloan Avatar answered Apr 11 '26 18:04

mgsloan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!