haskoin / haskoin-store

Haskoin Store is a blockchain storage service with a RESTful API
27 stars 14 forks source link

Stack build dependency fails when linking from another package - symbolic link issue #30

Closed plaprade closed 1 year ago

plaprade commented 1 year ago

How to reproduce:

Add a stack.yaml build dependency in another package:

- git: https://github.com/haskoin/haskoin-store.git
  commit: 8eef0cfdeea2645d82cc9f5ae6e788871eca908a

Then build your project:

$ stack build
Cloning 8eef0cfdeea2645d82cc9f5ae6e788871eca908a from https://github.com/haskoin/haskoin-store.git

Error: [S-760]
       Unsupported tarball from /tmp/with-repo-archive344868/foo.tar:

       Symbolic link dest cannot be a symbolic link, from data/CHANGELOG.md to ../CHANGELOG.md

Stack version:

$ stack --version
Version 2.11.1, Git revision c1167a6abc3f4978ccded5ba0246a57387da0e2f x86_64 hpack-0.35.2
jprupp commented 1 year ago

I see the problem.