[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51351] [PATCH] gnu: pplacer: Fix build.
From: |
Efraim Flashner |
Subject: |
[bug#51351] [PATCH] gnu: pplacer: Fix build. |
Date: |
Mon, 15 Nov 2021 15:40:35 +0200 |
On Sat, Oct 23, 2021 at 04:30:08PM +0200, Julien Lepiller wrote:
> From 5a85894ee405d2fbe909b61fb3817aa44d6a08df Mon Sep 17 00:00:00 2001
> Message-Id:
> <5a85894ee405d2fbe909b61fb3817aa44d6a08df.1634999221.git.julien@lepiller.eu>
> From: Julien Lepiller <julien@lepiller.eu>
> Date: Sat, 23 Oct 2021 15:22:11 +0200
> Subject: [PATCH 1/6] gnu: Add ocaml4.07-re.
>
> * gnu/packages/ocaml.scm (ocaml4.07-re): New variable.
> ---
> gnu/packages/ocaml.scm | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
> index 660bc44bc7..412e9e339d 100644
> --- a/gnu/packages/ocaml.scm
> +++ b/gnu/packages/ocaml.scm
> @@ -3353,6 +3353,7 @@ (define-public ocaml-re
> `(("ocaml-seq" ,ocaml-seq)))
> (native-inputs
> `(("ounit" ,ocaml-ounit)))
> + (properties `((ocaml4.07-variant . ,(delay ocaml4.07-re))))
> (home-page "https://github.com/ocaml/ocaml-re/")
> (synopsis "Regular expression library for OCaml")
> (description "Pure OCaml regular expressions with:
> @@ -3365,6 +3366,19 @@ (define-public ocaml-re
> @end enumerate")
> (license license:expat)))
>
The alternate option I came up with was dropping this down to 1.9.0.
> +(define-public ocaml4.07-re
> + (package-with-ocaml4.07
> + (package
> + (inherit ocaml-re)
> + (arguments
> + `(#:test-target "."
> + #:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'fix-dune-version
> + (lambda _
> + (delete-file "dune-project"))))))
> + (properties '()))))
> +
> (define-public ocaml-ocplib-endian
> (package
> (name "ocaml-ocplib-endian")
> --
> 2.33.0
>
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature