unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul van der Walt <paul@denknerd.org>
To: guix-devel <guix-devel@gnu.org>
Subject: Question about Haskell packages
Date: Wed, 14 Oct 2015 17:11:28 +0200	[thread overview]
Message-ID: <87a8rlwkm7.fsf@denknerd.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

Hello Guix,

Yesterday i thought to myself that it would be cool to mess around with
Idris <http://www.idris-lang.org>, on of the dependently-typed
languages.  Turns out it depends on quite a lot of Hackage packages!  I
steamed ahead, and now i have packaged all the dependencies.

One weird thing i ran into though, is that frequently, a library L1 will
build fine, but when you use it as an input to some other library L2,
the configure phase will fail, saying that L1 is broken, since
it is missing its dependencies D1..Dn.  Iyzsong suggested on IRC that i
do like nixpkgs does [0] and simply add all dependencies as
propagated-inputs.  That should solve that issue, but since i don't 100%
understand what's going on, i thought it wise to ask you, wise and
attractive users of Guix, for advice.

I will polish the patches before sending them, so don't hold your breath
yet.  I'm currently also trying to upgrade the packages to the Haskell
Platform 7.10.2-a versions.  Turns out GHC is slow to build.

Ah, another question: do you people think it would be worthwhile /
useful to provide a haskell-platform-$ver metapackage which depends on
all the exact versions bundled in that HP?  See [1] for a list.

Thank you for your advice,
p.

0. <https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/hackage-packages.nix>
1. <https://www.haskell.org/platform/contents.html>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]

             reply	other threads:[~2015-10-14 15:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 15:11 Paul van der Walt [this message]
2015-10-14 17:19 ` Question about Haskell packages Taylan Ulrich Bayırlı/Kammer
  -- strict thread matches above, loose matches on Subject: below --
2015-10-15 10:08 Federico Beffa
2015-10-15 11:22 Federico Beffa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a8rlwkm7.fsf@denknerd.org \
    --to=paul@denknerd.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).