Questions tagged [hackage]

Hackage is the central package archive for open-source software in the Haskell programming language.

Hackage is the central package archive for open-source software in the Haskell programming language. Typical tools to fetch and install packages from hackage are and .

119 questions
2
votes
3 answers

Manipulating source packages from Hackage how to easy deploy to several windows boxes?

Recently when I have found good sources packages for ghc 6.12/6.10 on Hackage I've been forced to do some minor or major changes to the cabal files to make those packages to work under windows. Besides to fork and merge my fixes with github, what…
Jonke
  • 6,525
  • 2
  • 25
  • 40
2
votes
1 answer

hackage-server fails to build - are there specific ghc/cabal version requirements?

I am trying to build and run a copy of the Hackage server https://github.com/haskell/hackage-server. I followed the instructions here https://github.com/haskell/hackage-server/wiki and also the instructions in the readme. Whichever I try, when…
matchwood
  • 257
  • 1
  • 7
2
votes
1 answer

How to install a dev branch into a Cabal Sandbox

I have a project in a Cabal sandbox. There is a package I would like to use but the one on Hackage isn't suitable. There is an alternative dev branch that should meet my needs that the author has on Github. I've previously installed dev branches…
TheCriticalImperitive
  • 1,457
  • 1
  • 10
  • 23
2
votes
4 answers

How to programmatically retrieve GHC package information?

More specifically, given an arbritary package name I need to retrieve the same library-dirs field that can be obtained with the ghc-pkg describe command from inside a running Haskell program.
Thiago Arrais
  • 33,360
  • 7
  • 30
  • 34
2
votes
0 answers

Does Hackage remove files from uploaded package tarfiles?

I got an issue report recently that my package's HSpec file was missing from the hackage tarfile, which seemed rather odd to me. I checked it out though, and the user was right: % curl -O…
rampion
  • 87,131
  • 49
  • 199
  • 315
2
votes
1 answer

On Cygwin, how do I install curl from hackage?

From a Windows command prompt, c:\>cabal install curl Resolving dependencies... Configuring curl-1.3.5... cabal: Error: some packages failed to install: curl-1.3.5 failed during the configure step. The exception was: sh: runGenProcess: does not…
Greg Bacon
  • 134,834
  • 32
  • 188
  • 245
2
votes
1 answer

Is Hackage open-source-only?

Most of the packages I have seen on Hackage are libaries released with open-source licenses and I think I have faint memory of a hackage upload with a missing license field triggering a bashing from hackage.haskell.org about not using an open-source…
Cetin Sert
  • 4,497
  • 5
  • 38
  • 76
1
vote
0 answers

cabal: Ignoring trailing fields after sections:

I try to upload a package to hackage. I have included a README.md and a ChangeLog.md file and mentioned them in the .cabal file: extra-source-files: README.md ChangeLog.md but receive, when uploading the dist file to hackage, a cryptic…
user855443
  • 2,596
  • 3
  • 25
  • 37
1
vote
0 answers

How to make a table that works in github markdown and hackage?

It seems that both formats support tables, though they are completely different formats. GitHub Markdown supports embedding the relevant subset of HTML, though I'm not clear how, or if, this is possible in Hackage's markdown. If this isn't possible,…
bbarker
  • 11,636
  • 9
  • 38
  • 62
1
vote
0 answers

Automatically linking to functions (or modules) from the README file in Hackage

Is there any way for the README file to support automatic linking to known identifiers (eg. function names or module names), similar to how Haddock does it ?
Saurabh Nanda
  • 6,373
  • 5
  • 31
  • 60
1
vote
1 answer

Does Hackage generate haddocks for package candidates?

I'd like to get feedback on my package's documentation before publishing it to the main index. However, irrespective of how long I wait, Hackage doesn't seem to be building haddocks for my package candidate. Is this a known issue? Is my only option…
Saurabh Nanda
  • 6,373
  • 5
  • 31
  • 60
1
vote
1 answer

Using Hackage libraries

I am just starting out with Haskell .I am using stack to build my applcation. I am trying to use this library from hackage . http://hackage.haskell.org/package/pkcs10-0.2.0.0/docs/Data-X509-PKCS10.html I am not able to figure out how to include this…
Tanmay Bhattacharya
  • 551
  • 1
  • 5
  • 16
1
vote
1 answer

Using Haskell Time library ISO8601 format

I'm using the Haskell Time Library. I'm trying to use the ISO-8601 date formatters. In my code, I can import the Data.Time module and use it without any problems. However, when I import the Data.Time.Format.ISO8601 functions and definitions I get…
MMacphail
  • 541
  • 3
  • 19
1
vote
1 answer

Haskell Cabal packing install fail

I wiped and reinstalled the Haskell platform (Haskell.org: cabal, stack, ghc), but now no addon package will install properly. Cabal always end with ExitFailure1. Probably because not being able to find a dependency. Most of the times however it is…
Madderote
  • 1,107
  • 10
  • 19
1
vote
1 answer

Where do Cabal & Stack fetch Hackage packages from?

I am interested in creating a tool for Hackage involving analysis of the various dependencies between Hackage's packages. I am thinking this would involve downloading and syncing a mirror of all Hackage package sources, in particular the *.cabal…
mherzl
  • 5,624
  • 6
  • 34
  • 75