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

Remote tarballs #377

Closed
ip1981 opened this issue Sep 12, 2018 · 0 comments · Fixed by #455
Closed

Remote tarballs #377

ip1981 opened this issue Sep 12, 2018 · 0 comments · Fixed by #455

Comments

@ip1981
Copy link

ip1981 commented Sep 12, 2018

It looks like cabal2nix does not support fetching remote archives like tag.gz, etc. At least not that simple. Maybe it gets confused by the Mercurial stuff inside the archive.

$ cabal2nix --subpath hspec-webdriver https://bitbucket.org/capitalmatch/webdriver-utils/get/ab943426dde0.tar.bz2
*** parsing cabal file: https://bitbucket.org/capitalmatch/webdriver-utils/get/ab943426dde0.tar.bz2/hspec-webdriver: openBinaryFile: does not exist (No such file or directory)
Inicializado repositorio Git vacío en /tmp/git-checkout-tmp-gbsabyhN/ab943426dde0.tar.bz2/.git/
fatal: repository 'https://bitbucket.org/capitalmatch/webdriver-utils/get/ab943426dde0.tar.bz2/' not found
fatal: repository 'https://bitbucket.org/capitalmatch/webdriver-utils/get/ab943426dde0.tar.bz2/' not found
fatal: repository 'https://bitbucket.org/capitalmatch/webdriver-utils/get/ab943426dde0.tar.bz2/' not found
Unable to checkout HEAD from https://bitbucket.org/capitalmatch/webdriver-utils/get/ab943426dde0.tar.bz2.
hg revision is ab943426dde0
hash is 09fc13n6gqy6kbbibphv2pkm8fmwxidwjg0yhch0n12im5k9z0v5
path is /nix/store/p6sr3n00rvkgblsy6kpia4apaw4l1544-hg-archive
*** parsing cabal file: https://bitbucket.org/capitalmatch/webdriver-utils/get/ab943426dde0.tar.bz2/hspec-webdriver: openBinaryFile: does not exist (No such file or directory)
svn: E170013: Unable to connect to a repository at URL 'https://bitbucket.org/capitalmatch/webdriver-utils/get/ab943426dde0.tar.bz2'
svn: E000113: Error running context: No route to host
failed to open trace file: [Errno 2] No such file or directory: '/homeless-shelter/.bzr.log'
Not checking SSL certificate for bitbucket.org.
bzr: ERROR: Not a branch: "https://bitbucket.org/capitalmatch/webdriver-utils/get/ab943426dde0.tar.bz2/".
cabal2nix: user error (Failed to fetch source. Does the URL exist?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant