all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Bavier <ericbavier@openmailbox.org>
To: Paul van der Walt <paul@denknerd.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add ghc-unix-time.
Date: Thu, 22 Oct 2015 11:57:49 -0500	[thread overview]
Message-ID: <1760cc92482181f78bdc0e0cd6fabf5b@openmailbox.org> (raw)
In-Reply-To: <87oafqq588.fsf@denknerd.org>

On 2015-10-22 10:43, Paul van der Walt wrote:
> On 2015-10-22 at 10:47, quoth ericbavier@openmailbox.org:
>>> +       #:phases
>>> +       (alist-cons-before
>>> +        'configure 'fix-/bin/sh
>>> +        (lambda _
>>> +          ;; Use `sh', not `/bin/sh'.
>>> +          (substitute* (find-files "." "Makefile|configure")
>>> +            (("/bin/sh")
>>> +             "sh")))
>>> +        %standard-phases)))
>> 
>> See the ghc-x11 package for a, IMHO, more elegant solution.
> 
> Ah!  Indeed.
> 
>> This appears to be a more general issue however.  Any package that 
>> declares in
>> its *.cabal file "build-type: Configure" is going to need CONFIG_SHELL 
>> and/or
>> SHELL in the environment.  See additionally the proposed ghc-sdl,
>> ghc-sdl-image, ghc-sdl-mixer, and ghc-old-time patches.
>> 
>> Perhaps we could patch haskell-build-system to export appropriate 
>> CONFIG_SHELL
>> and SHELL variables if it sees a "configure" file in the top-level 
>> source
>> directory.  WDYT?  Would you like to send a patch?
> 
> Right, i see what you mean.  I agree that it'd probably be the right
> thing to do.  However, to expedite the merge of wip-haskell-… i propose
> that i take the solution of ghc-x11 and apply it to the relevant
> packages, and then look at fixing the haskell-build-system.  At that
> point we can simply remove the phases introduced to work around this
> deficiency.

OK.

> Do you think that's acceptable, or is it imperative* that we first 
> solve
> the problem in the build system?

An incremental approach seems reasonable to me in this case, since there 
are not so many affected packages at this point.

-- 
`~Eric

  parent reply	other threads:[~2015-10-22 16:57 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22  3:10 Reviews for wip-haskell-platform-7.10.2-a ericbavier
2015-10-22  3:10 ` [PATCH] gnu: Add ghc-attoparsec ericbavier
2015-10-22 10:40   ` Paul van der Walt
2015-10-22  3:10 ` [PATCH] gnu: Add ghc-base64-bytestring ericbavier
2015-10-22 10:44   ` Paul van der Walt
2015-10-22  3:18 ` [PATCH] gnu: Add ghc-blaze-builder ericbavier
2015-10-22  3:18   ` [PATCH] gnu: Add ghc-blaze-markup ericbavier
2015-10-22 10:54     ` Paul van der Walt
2015-10-22  3:18   ` [PATCH] gnu: Add ghc-bytestring-builder ericbavier
2015-10-22 11:01     ` Paul van der Walt
2015-10-22 11:02   ` [PATCH] gnu: Add ghc-blaze-builder Paul van der Walt
2015-10-22  3:25 ` [PATCH] gnu: Add ghc-cereal ericbavier
2015-10-22  3:25   ` [PATCH] gnu: Add ghc-clock ericbavier
2015-10-22 13:57     ` Paul van der Walt
2015-10-22  3:25   ` [PATCH] gnu: Add ghc-cpphs ericbavier
2015-10-22 11:20     ` Paul van der Walt
2015-10-22 11:25   ` [PATCH] gnu: Add ghc-cereal Paul van der Walt
2015-10-22  3:32 ` [PATCH] gnu: Add ghc-doctest ericbavier
2015-10-22  3:32   ` [PATCH] gnu: Add ghc-fingertree ericbavier
2015-10-22 11:27     ` Paul van der Walt
2015-10-22  3:32   ` [PATCH] gnu: Add ghc-free ericbavier
2015-10-22 11:28     ` Paul van der Walt
2015-10-22 12:58   ` [PATCH] gnu: Add ghc-doctest Paul van der Walt
2015-10-22  8:47 ` [PATCH] gnu: Add ghc-gluraw ericbavier
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-haddock-api ericbavier
2015-10-22 15:20     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-haskell-src-exts ericbavier
2015-10-22 14:07     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-hlint ericbavier
2015-10-22 15:15     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-hscolour ericbavier
2015-10-22 15:17     ` Paul van der Walt
2015-10-22 16:48       ` Eric Bavier
2015-10-22 16:53         ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-opengl ericbavier
2015-10-22 15:10     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-openglraw ericbavier
2015-10-22 15:07     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-pcre-light ericbavier
2015-10-22 15:06     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-reflection ericbavier
2015-10-22 15:04     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-regex-base ericbavier
2015-10-22 15:03     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-regex-posix ericbavier
2015-10-22 15:01     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-regex-tdfa-rc ericbavier
2015-10-22 15:00     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-sdl-mixer ericbavier
2015-10-22 16:04     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-semigroupoids ericbavier
2015-10-22 14:57     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-semigroups ericbavier
2015-10-22 14:15     ` Paul van der Walt
2015-10-22 16:54       ` Eric Bavier
2015-10-22 14:56     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-tasty-golden ericbavier
2015-10-22 14:54     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-uniplate ericbavier
2015-10-22 14:52     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-unix-time ericbavier
2015-10-22 15:43     ` Paul van der Walt
2015-10-22 16:22       ` Andreas Enge
2015-10-22 16:50         ` Paul van der Walt
2015-10-22 16:57       ` Eric Bavier [this message]
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-wai ericbavier
2015-10-22 14:50     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-xml ericbavier
2015-10-22 14:48     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add ghc-zip-archive ericbavier
2015-10-22 14:47     ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: Add Idris, the dependently-typed language ericbavier
2015-10-22 14:45     ` Paul van der Walt
2015-10-22 17:02       ` Eric Bavier
2015-10-22 17:20         ` Paul van der Walt
2015-10-22  8:47   ` [PATCH] gnu: ghc-split: Update dependencies ericbavier
2015-10-22 16:16     ` Paul van der Walt
2015-10-22 17:06       ` Eric Bavier
2015-10-22 17:26         ` Paul van der Walt
2015-10-22 14:21   ` [PATCH] gnu: Add ghc-gluraw Paul van der Walt
2015-10-22 10:27 ` Reviews for wip-haskell-platform-7.10.2-a Paul van der Walt

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

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

  git send-email \
    --in-reply-to=1760cc92482181f78bdc0e0cd6fabf5b@openmailbox.org \
    --to=ericbavier@openmailbox.org \
    --cc=guix-devel@gnu.org \
    --cc=paul@denknerd.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.