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
0
votes
2 answers

Does Hackage has binary package cache?

I could not find anything related. And this is strange to me, because it seems like it builds packages for Haddock generation.
uhbif19
  • 3,139
  • 3
  • 26
  • 48
0
votes
0 answers

How can I fix an APK file for Android. made with msfvenom too run on my new version of android

I tried run an APK file I created with msfvenom for a "android hack test", but after installing the application it was showing me this on my Android::: MainActivity This app was built for an older version of Android and may not work properly. Try…
TRAP HUB
  • 1
  • 2
0
votes
0 answers

Haskell FFI includes: is there a difference between including and "xx.hs"?

I work on code I have not written. It uses the Haskell Foreign Function Interface (FFI) and includes some code in C. The 9.0.1 GHC documentation gives an example of such includes as: #include #include "HsFFI.h" and I do not see an…
user855443
  • 2,596
  • 3
  • 25
  • 37
0
votes
0 answers

c-source is not a good relative path

I try to upload a package to hackage and get the brief message c-sources: C/libqhull_r.c' is not good relative path: same directory segment: .. I cannot find (with google) any hint what is meant and what I should change (I am not the author of the…
user855443
  • 2,596
  • 3
  • 25
  • 37
0
votes
1 answer

How do I interact with the hackage API using curl?

There are sparsely documented methods here. This page just mentions there's an API, and links to the hackage-security library which 5min poking around doesn't help me figure out how to form an http request to the (which?) server The following just…
jberryman
  • 16,334
  • 5
  • 42
  • 83
0
votes
0 answers

Include a closed source Haskell package in an open source Haskell package without leaking its code

I'm working on an open source Haskell package and I want to use a proprietary package of mine as a dependency without leaking its source code. One way would be to compile it to a binary and call it via System.Process.callCommand, but this would be…
adius
  • 13,685
  • 7
  • 45
  • 46
0
votes
0 answers

Why is the Hackage Matrix Builder for my package incorrect?

Why is the information for my package in the Hackage Matrix Builder not in sync with my package? The latest state of the matrix shows no compatibility beyond GHC 7.10.3 even though the same revision correctly shows compatibility through at least…
orome
  • 45,163
  • 57
  • 202
  • 418
0
votes
1 answer

Why does Hackage link a module to a different source file?

I am trying to understand the structure of the base package as displayed by Hackage. Following https://en.wikibooks.org/wiki/Haskell/Modules a module name must reflect the path to its source; to quote the above: The name of the file is the name of…
sf1
  • 135
  • 3
0
votes
0 answers

`Either` with a Semigroup on the left

Does something like this already exist or should I package it up for Hackage (I find it useful for collecting errors): module EitherSemigroup where import Prelude hiding (Right, Left) import Data.Semigroup (Semigroup) data EitherSemigroup l r =…
Clinton
  • 22,361
  • 15
  • 67
  • 163
0
votes
1 answer

Cabal failing to install network-2.6.3.1 on Linux

In short I am fairly new to the Haskell world and am having an issue installing a package with a dependency on network-2.6.3.1. cabal install happstack-server Resolving dependencies... Configuring network-2.6.3.1... Failed to install…
rbonallo
  • 970
  • 1
  • 9
  • 21
0
votes
2 answers

Haskell how to get code from Hackage into project? Cabal install project failed

I created a project in hackage that I want to import into my code. Rather than manually copy-pasting the code from "print-debugger-0.0.tar.gz" into the src folder of my cabal project, I want to be able to do this... // project.cabal file name: …
Michael Lafayette
  • 2,972
  • 3
  • 20
  • 54
0
votes
1 answer

Can't install haskell package http-enumerator

Got the following bash transcript when run cabal install. It looks it complainted many packages required by http-enumerator is not available. I am not sure what "Backjump" mean in the last line of the printout. How do I resolve the package…
0
votes
2 answers

A suspicious PHP file might

I'm searching for your help today to get some help about a file I founded in my FTP this morning. I'm not a professionnal in all those PHP functions so this is why I post it here. The thing I found was a file named index.php in a sub-images…
Patrice Poliquin
  • 373
  • 10
  • 21
-1
votes
2 answers

Haskell - create instance of class (how to do it right?)

I read the chapter about that topic in "learn you a haskell" and tried to find some hints on different websites - but are still unable to solve the following task. Im a haskell newbie (6 weeks of "experience") and its the first time I have to work…
1 2 3 4 5 6 7
8