[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 13/43] gnu: ghc-old-time: Add variable.
From: |
Eric Bavier |
Subject: |
Re: [PATCH 13/43] gnu: ghc-old-time: Add variable. |
Date: |
Mon, 19 Oct 2015 08:46:37 -0500 |
First line of commit message should rather be:
"gnu: Add ghc-old-time"
On Thu, 15 Oct 2015 14:21:07 +0200
Paul van der Walt <address@hidden> wrote:
> * gnu/packages/haskell.scm (ghc-old-time): New variable.
> ---
> gnu/packages/haskell.scm | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
>
> diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
> index 7950d7e..2b607d1 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -386,6 +386,42 @@ provides instances for types from the base, containers,
> dlist and old-locale
> packages.")
> (license bsd-3)))
>
> +(define-public ghc-old-time
> + (package
> + (name "ghc-old-time")
> + (version "1.1.0.3")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "http://hackage.haskell.org/package/old-time/old-time-"
> + version
> + ".tar.gz"))
> + (sha256
> + (base32
> + "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
> + (build-system haskell-build-system)
> + (arguments
> + `(#:phases
> + (alist-cons-before
> + 'configure 'fix-/bin/sh
> + (lambda _
> + ;; Use `sh', not `/bin/sh'.
> + (substitute* (find-files "." "Makefile|configure")
> + (("/bin/sh")
> + "sh")))
Is this not already handled by the 'patch-source-shebangs' and
'patch-generated-file-shebangs' phases?
This package is used in the "gnu: ghc-xmonad-contrib: Update to
version 0.11.4." patch, so it should be moved before it.
`~Eric
- Re: [PATCH 16/43] gnu: ghc-ansi-terminal: New variable., (continued)
- [PATCH 24/43] gnu: ghc-split: Update dependencies., Paul van der Walt, 2015/10/15
- [PATCH 23/43] gnu: ghc-regex-base: New variables., Paul van der Walt, 2015/10/15
- [PATCH 11/43] gnu: ghc-vector: Update to 0.11.0.0., Paul van der Walt, 2015/10/15
- [PATCH 14/43] gnu: ghc-http: Update to 4000.2.20., Paul van der Walt, 2015/10/15
- [PATCH 13/43] gnu: ghc-old-time: Add variable., Paul van der Walt, 2015/10/15
- [PATCH 21/43] gnu: ghc-transformers-compat: New variables., Paul van der Walt, 2015/10/15
- [PATCH 20/43] gnu: ghc-quickcheck-io: Add variable., Paul van der Walt, 2015/10/15
- [PATCH 15/43] gnu: cabal-install: Update to 1.22.6.0., Paul van der Walt, 2015/10/15
- [PATCH 19/43] gnu: ghc-setenv: New variable., Paul van der Walt, 2015/10/15